From e892635a50fe24897aaac7b8d34122fbc482941b Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Tue, 3 Apr 2012 10:27:14 +0100
Subject: [PATCH] Replacing the use of Array.prototype.forEach with _.each,
 which we are guaranteed to have.

---
 resources/static/dialog/controllers/authenticate.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/static/dialog/controllers/authenticate.js b/resources/static/dialog/controllers/authenticate.js
index 743b3c856..a3192ccbb 100644
--- a/resources/static/dialog/controllers/authenticate.js
+++ b/resources/static/dialog/controllers/authenticate.js
@@ -94,7 +94,7 @@ BrowserID.Modules.Authenticate = (function() {
   }
 
   function showHint(showSelector, callback) {
-    hints.forEach(function(className) {
+    _.each(hints, function(className) {
       if(className != showSelector) {
         $("." + className).not("." + showSelector).hide();
       }
-- 
GitLab