[Fixed Position] Rename accessor

Rename utility function used by fixed position elements
to be more accurate. WTD-879.
This commit is contained in:
Victor Woeltjen 2015-02-19 12:10:43 -08:00
parent 83872946bf
commit 7498e340d6

View File

@ -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;
}
);