mirror of
https://github.com/nasa/openmct.git
synced 2025-06-08 18:31:40 +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.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
/*global define*/
|
||||||
/*jshint es5: true */
|
/*jslint es5: true */
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
|
@ -65,13 +65,13 @@ define(
|
|||||||
|
|
||||||
// A view is editable unless explicitly flagged as not
|
// A view is editable unless explicitly flagged as not
|
||||||
(views || []).forEach(function (view) {
|
(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++;
|
count++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks whether the domain object is currently being edited. If
|
* Checks whether the domain object is currently being edited. If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user