single module resolution for apiclient
This commit is contained in:
parent
ae828f76a3
commit
d49fee2a29
18 changed files with 9 additions and 1 deletions
14
src/bower_components/apiclient/appstorage-memory.js
vendored
Normal file
14
src/bower_components/apiclient/appstorage-memory.js
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
define([], function() {
|
||||
"use strict";
|
||||
|
||||
function MyStore() {
|
||||
this.localData = {}
|
||||
}
|
||||
return MyStore.prototype.setItem = function(name, value) {
|
||||
this.localData[name] = value
|
||||
}, MyStore.prototype.getItem = function(name) {
|
||||
return this.localData[name]
|
||||
}, MyStore.prototype.removeItem = function(name) {
|
||||
this.localData[name] = null
|
||||
}, new MyStore
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue