main/view/lib/gstore-es6.js

14 lines
145 B
JavaScript
Raw Normal View History

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