mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
433 B
22 lines
433 B
import 'whatwg-fetch';
|
|
import _ from 'underscore';
|
|
import sinon from 'sinon';
|
|
|
|
const localStorage = {
|
|
getItem(key) {
|
|
return this[key];
|
|
},
|
|
setItem(key, value) {
|
|
this[key] = value;
|
|
},
|
|
removeItem(key, value) {
|
|
delete this[key];
|
|
}
|
|
};
|
|
|
|
global._ = _;
|
|
global.sinon = sinon;
|
|
global.__GJS_VERSION__ = '';
|
|
global.grapesjs = require('./../src').default;
|
|
global.$ = global.grapesjs.$;
|
|
global.localStorage = localStorage;
|
|
|