mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
JSLint
This commit is contained in:
parent
858aa6146a
commit
6d3b2c716b
@ -20,7 +20,7 @@
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
/*global define*/
|
||||
/*jshint es5: true */
|
||||
/*jslint es5: true */
|
||||
|
||||
|
||||
define(
|
||||
|
@ -65,13 +65,13 @@ define(
|
||||
|
||||
// A view is editable unless explicitly flagged as not
|
||||
(views || []).forEach(function (view) {
|
||||
if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))){
|
||||
if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))) {
|
||||
count++;
|
||||
}
|
||||
});
|
||||
|
||||
return count;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Checks whether the domain object is currently being edited. If
|
||||
|
Loading…
Reference in New Issue
Block a user