]> git.openstreetmap.org Git - rails.git/commitdiff
Remove copy of Array.forEach that was committed accidentally
authorTom Hughes <tom@compton.nu>
Thu, 30 Aug 2012 18:17:11 +0000 (19:17 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 30 Aug 2012 18:17:11 +0000 (19:17 +0100)
app/assets/javascripts/application.js

index dcc5d43f80e30ece3d7d97fa7d669237ada46c31..78cbb57ea94148a3ed9ea14e4eda4a30edb96afc 100644 (file)
 //= 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