main/view/lib/gstore-es6.js

14 lines
145 B
JavaScript

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