[Time Conductor] Removed redundant getTimeSystem function

This commit is contained in:
Henry
2017-05-01 16:55:53 -07:00
parent d88e905c65
commit 95202611ea

View File

@@ -159,18 +159,6 @@ define(
})[0]; })[0];
}; };
/**
* Given a key for a time system, retrieve the time system object.
* @private
* @param key
* @returns {TimeSystem}
*/
TimeConductorController.prototype.getTimeSystem = function (key) {
return this.timeAPI.getAllTimeSystems().filter(function (timeSystem) {
return timeSystem.key === key;
})[0];
};
/** /**
* Activate the selected menu option. Menu options correspond to clocks. * Activate the selected menu option. Menu options correspond to clocks.
* A distinction is made to avoid confusion between the menu options and * A distinction is made to avoid confusion between the menu options and