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.
23 lines
449 B
23 lines
449 B
import _ from 'underscore';
|
|
import Backbone from 'backbone';
|
|
import sinon from 'sinon';
|
|
import grapesjs from './../src';
|
|
|
|
const localStorage = {
|
|
getItem(key) {
|
|
return this[key];
|
|
},
|
|
setItem(key, value) {
|
|
this[key] = value;
|
|
},
|
|
removeItem(key, value) {
|
|
delete this[key];
|
|
}
|
|
};
|
|
|
|
global.Backbone = Backbone;
|
|
global._ = _;
|
|
global.sinon = sinon;
|
|
global.grapesjs = grapesjs;
|
|
global.$ = Backbone.$;
|
|
global.localStorage = localStorage;
|
|
|