4 Commits

Author SHA1 Message Date
Juan Cruz Viotti
fbe6fe1142 Show a "Locked" label if the drive is write-protected (#475)
* Implement SelectionStateModel.isDriveLocked()

Notice we also increase the maximum number of lines JSCS check, since
the `SelectionStateModel` test suite already met that limit.

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>

* Show a "Locked" label if the drive is write-protected

Fixes: https://github.com/resin-io/etcher/issues/458
Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
2016-06-11 15:45:46 -04:00
Juan Cruz Viotti
28a6d786c8 Lint JSDoc annotations with JSCS
See http://jscs.info/rule/jsDoc
2016-01-31 21:15:28 -04:00
Juan Cruz Viotti
861ecdfeb7 Adapt JSCS for tests 2016-01-22 10:25:33 -04:00
Juan Cruz Viotti
3fb0a747f9 Add .jscsrc configuration file 2016-01-22 10:24:12 -04:00