diff js/modules/cache.js @ 47:0b71df72ebe1

integrated dashboard into main.html.
author Atul Varma <avarma@mozilla.com>
date Sat, 24 Apr 2010 20:24:54 -0700
parents
children 55c1b3647357
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/js/modules/cache.js	Sat Apr 24 20:24:54 2010 -0700
@@ -0,0 +1,10 @@
+Require.modules["cache"] = function(exports) {
+  var cache = {};
+
+  exports.set = function set(key, value) {
+    cache[key] = value;
+  };
+  exports.get = function get(key) {
+    return cache[key];
+  };
+};