Commits

Gary Chambers  committed 8af0a1a

Revert "Extended Storage#load to support seed data"

This reverts commit 8805badc3fbdbac637c7df8be6e4a9125b3c89ff.

  • Participants
  • Parent commits 8805bad

Comments (0)

Files changed (1)

File src/core/storage.js

 		@method load
 		@static
 		@param {String} key The namespace for the Storage context
-		@param {String} data* Initial data to load into the Storage instance
+		@param {String} engine* The name of an alternative Storage engine
 		@return {Object} The Storage context
 		**/
-		load: function load(key, data)
+		load: function load(key, engine)
 		{
-			var store;
-
-			data = data || {};
-			store = _cache[ key ]
+			return _cache[ key ]
 				|| new this( key );
-
-			Jazz.iter.forEach(data, function(v, k)
-			{
-				store.set(k, v);
-			});
-
-			return store;
 		},
 
 		/**