diff --git a/view/lib/gstore-es6.js b/view/lib/gstore-es6.js new file mode 100644 index 0000000..8f91769 --- /dev/null +++ b/view/lib/gstore-es6.js @@ -0,0 +1,14 @@ +/* classe GlobalStore */ +export class GlobalStore{ + + constructor(){ + + this.data = {}; + + } + + add(field, value){ + this.data[field] = value; + } + +} \ No newline at end of file