mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
removed redundant code
This commit is contained in:
parent
d8d0f22889
commit
0218f42e2b
@ -52,18 +52,6 @@ define(
|
||||
|
||||
HistoricalTableController.prototype = Object.create(TableController.prototype);
|
||||
|
||||
function fastPromise(value) {
|
||||
if (value && value.then) {
|
||||
return value;
|
||||
} else {
|
||||
return {
|
||||
then: function (callback) {
|
||||
return fastPromise(callback(value));
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels outstanding processing
|
||||
* @private
|
||||
|
Loading…
x
Reference in New Issue
Block a user