Mercurial > bugzilla-dashboard
diff js/modules/app.js @ 81:e3de1fe32f40
made cache module require 'storage' instead of 'window'
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Sun, 25 Apr 2010 22:44:00 -0700 |
parents | 677df912e92d |
children | 03bf0a1b85da |
line wrap: on
line diff
--- a/js/modules/app.js Sun Apr 25 22:26:14 2010 -0700 +++ b/js/modules/app.js Sun Apr 25 22:44:00 2010 -0700 @@ -3,6 +3,7 @@ var bugzilla = require("app/bugzilla-auth").create(options.Bugzilla); moduleExports.bugzilla = bugzilla; moduleExports.window = options.window; + moduleExports.storage = options.window.localStorage; moduleExports.jQuery = options.jQuery; require("app/ui").init(options.window.document);