Lines Matching refs:storage

12518 		storage
12554 storage = win[localStorageName]
12555 api.set = function(key, val) { storage.setItem(key, api.serialize(val)) }
12556 api.get = function(key) { return api.deserialize(storage.getItem(key)) }
12557 api.remove = function(key) { storage.removeItem(key) }
12558 api.clear = function() { storage.clear() }
12561 storage = win[globalStorageName][win.location.hostname]
12562 api.set = function(key, val) { storage[key] = api.serialize(val) }
12563 api.get = function(key) { return api.deserialize(storage[key] && storage[key].value) }
12564 api.remove = function(key) { delete storage[key] }
12565 api.clear = function() { for (var key in storage ) { delete storage[key] } }
12568 var storage = doc.createElement('div')
12572 args.unshift(storage)
12577 doc.documentElement.appendChild(storage)
12578 storage.addBehavior('#default#userData')
12579 storage.load(localStorageName)
12581 doc.documentElement.removeChild(storage)
12585 api.set = withIEStorage(function(storage, key, val) {
12586 storage.setAttribute(key, api.serialize(val))
12587 storage.save(localStorageName)
12589 api.get = withIEStorage(function(storage, key) {
12590 return api.deserialize(storage.getAttribute(key))
12592 api.remove = withIEStorage(function(storage, key) {
12593 storage.removeAttribute(key)
12594 storage.save(localStorageName)
12596 api.clear = withIEStorage(function(storage) {
12597 var attributes = storage.XMLDocument.documentElement.attributes
12598 storage.load(localStorageName)
12600 storage.removeAttribute(attr.name)
12602 storage.save(localStorageName)
17173 summarize: function(storage) argument
17175 return storage.length +" items in Storage";
17177 show: function(storage) argument