mirror of
https://github.com/nasa/openmct.git
synced 2025-06-22 17:08:57 +00:00
chore: Remove unsed variables from codebase
This commit is contained in:
@ -81,7 +81,7 @@ define(['EventEmitter'], function (EventEmitter) {
|
||||
* @param listener
|
||||
* @returns {function} a function for deregistering the provided listener
|
||||
*/
|
||||
LocalClock.prototype.on = function (event, listener) {
|
||||
LocalClock.prototype.on = function (event) {
|
||||
var result = EventEmitter.prototype.on.apply(this, arguments);
|
||||
|
||||
if (this.listeners(event).length === 1) {
|
||||
@ -97,7 +97,7 @@ define(['EventEmitter'], function (EventEmitter) {
|
||||
* @param listener
|
||||
* @returns {function} a function for deregistering the provided listener
|
||||
*/
|
||||
LocalClock.prototype.off = function (event, listener) {
|
||||
LocalClock.prototype.off = function (event) {
|
||||
var result = EventEmitter.prototype.off.apply(this, arguments);
|
||||
|
||||
if (this.listeners(event).length === 0) {
|
||||
|
Reference in New Issue
Block a user