]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Remove copy of Array.forEach that was committed accidentally
[rails.git] / app / assets / javascripts / application.js
index 352ec9f8ae2117ac7082efa2b79da801ba9dfe25..78cbb57ea94148a3ed9ea14e4eda4a30edb96afc 100644 (file)
@@ -2,23 +2,15 @@
 //= require jquery_ujs
 //= require jquery.autogrowtextarea
 //= require jquery.timers
+//= require augment
 //= require openlayers
 //= require i18n/translations
 //= require globals
-//= require compat
 //= require browse
 //= require export
 //= 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