mirror of
https://github.com/nasa/openmct.git
synced 2025-04-10 12:50:15 +00:00
[Fixed Position] Rename accessor
Rename utility function used by fixed position elements to be more accurate. WTD-879.
This commit is contained in:
parent
83872946bf
commit
7498e340d6
@ -12,7 +12,7 @@ define(
|
||||
* @param {Object} object the object to get/set values upon
|
||||
* @param {string} key the property to get/set
|
||||
*/
|
||||
function Accessor(object, key) {
|
||||
function AccessorMutator(object, key) {
|
||||
return function (value) {
|
||||
if (arguments.length > 0) {
|
||||
object[key] = value;
|
||||
@ -21,6 +21,6 @@ define(
|
||||
};
|
||||
}
|
||||
|
||||
return Accessor;
|
||||
return AccessorMutator;
|
||||
}
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user