single module resolution for apiclient

This commit is contained in:
vitorsemeano 2019-02-24 11:46:22 +00:00
parent ae828f76a3
commit d49fee2a29
18 changed files with 9 additions and 1 deletions

View 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
});