From: Tom Hughes Date: Thu, 30 Aug 2012 18:17:11 +0000 (+0100) Subject: Remove copy of Array.forEach that was committed accidentally X-Git-Tag: live~5943 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1e169bca25d45546cf65705ec1ba8b8308cd3b94 Remove copy of Array.forEach that was committed accidentally --- diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index dcc5d43f8..78cbb57ea 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -11,14 +11,6 @@ //= require map //= require menu -if ( !Array.prototype.forEach ) { - Array.prototype.forEach = function(fn, scope) { - for(var i = 0, len = this.length; i < len; ++i) { - fn.call(scope || this, this[i], i, this); - } - } -} - /* * Called as the user scrolls/zooms around to aniplate hrefs of the * view tab and various other links