add: view.lib.gstore (GlobalStore class for VueJS)

This commit is contained in:
xdrm-brackets 2017-12-01 15:45:08 +01:00
parent f1a9e65327
commit 5d9cc9e33c
1 changed files with 14 additions and 0 deletions

14
view/lib/gstore-es6.js Normal file
View File

@ -0,0 +1,14 @@
/* classe GlobalStore */
export class GlobalStore{
constructor(){
this.data = {};
}
add(field, value){
this.data[field] = value;
}
}