From b0bce2c237388330ca17bb84b197a015b20cf2b3 Mon Sep 17 00:00:00 2001
From: Francois Marier <francois@mozilla.com>
Date: Tue, 19 Jun 2012 16:34:52 +1200
Subject: [PATCH] Fix a broken require for jwcrypto

Not sure why we never caught this because it throws an exception
as soon as you call prepareDeps().
---
 resources/static/shared/storage.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/static/shared/storage.js b/resources/static/shared/storage.js
index 4163e0e6b..c31dce131 100644
--- a/resources/static/shared/storage.js
+++ b/resources/static/shared/storage.js
@@ -39,7 +39,7 @@ BrowserID.Storage = (function() {
 
   function prepareDeps() {
     if (!jwcrypto) {
-      jwcrypto = require("./jwcrypto");
+      jwcrypto = require("./lib/jwcrypto");
     }
   }
 
-- 
GitLab