main/view/lib/gstore-es6.js

14 lines
145 B
JavaScript
Raw Permalink Normal View History

/* classe GlobalStore */
export class GlobalStore{
constructor(){
this.data = {};
}
add(field, value){
this.data[field] = value;
}
}