From 0218f42e2b2d52de72af1d342f946d7291f9cdca Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 27 May 2016 15:25:06 -0700 Subject: [PATCH] removed redundant code --- .../src/controllers/HistoricalTableController.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/platform/features/table/src/controllers/HistoricalTableController.js b/platform/features/table/src/controllers/HistoricalTableController.js index da9b1d41a0..35f223cbe0 100644 --- a/platform/features/table/src/controllers/HistoricalTableController.js +++ b/platform/features/table/src/controllers/HistoricalTableController.js @@ -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