Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 7716574a3 -> 4abecf0a3


# ignite-843 Add lodash.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/4abecf0a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/4abecf0a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/4abecf0a

Branch: refs/heads/ignite-843
Commit: 4abecf0a38f93c479c4519537e7c4303348597b9
Parents: 7716574
Author: Andrey <anovi...@gridgain.com>
Authored: Thu Jun 4 14:01:15 2015 +0700
Committer: Andrey <anovi...@gridgain.com>
Committed: Thu Jun 4 14:01:15 2015 +0700

----------------------------------------------------------------------
 .../public/javascripts/controllers/common.js    | 23 --------------------
 1 file changed, 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4abecf0a/modules/webconfig/nodejs/public/javascripts/controllers/common.js
----------------------------------------------------------------------
diff --git a/modules/webconfig/nodejs/public/javascripts/controllers/common.js 
b/modules/webconfig/nodejs/public/javascripts/controllers/common.js
index b160614..8457b86 100644
--- a/modules/webconfig/nodejs/public/javascripts/controllers/common.js
+++ b/modules/webconfig/nodejs/public/javascripts/controllers/common.js
@@ -15,29 +15,6 @@
  * limitations under the License.
  */
 
-if (!Array.prototype.find) {
-    Array.prototype.find = function(predicate) {
-        if (this == null) {
-            throw new TypeError('Array.prototype.find called on null or 
undefined');
-        }
-        if (typeof predicate !== 'function') {
-            throw new TypeError('predicate must be a function');
-        }
-        var list = Object(this);
-        var length = list.length >>> 0;
-        var thisArg = arguments[1];
-        var value;
-
-        for (var i = 0; i < length; i++) {
-            value = list[i];
-            if (predicate.call(thisArg, value, i, list)) {
-                return value;
-            }
-        }
-        return undefined;
-    };
-}
-
 var configuratorModule =  angular.module('ignite-web-configurator', 
['smart-table', 'mgcrea.ngStrap']);
 
 // Decode name using map(value, label).

Reply via email to