From 1e169bca25d45546cf65705ec1ba8b8308cd3b94 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 30 Aug 2012 19:17:11 +0100 Subject: [PATCH] Remove copy of Array.forEach that was committed accidentally --- app/assets/javascripts/application.js | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.43.2