JSON exports itself. This fixes issue #376.
This commit is contained in:
parent
f83e619fd9
commit
23a166ca99
|
@ -469,3 +469,5 @@ if (!JSON)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}());
|
}());
|
||||||
|
|
||||||
|
module.exports = JSON;
|
||||||
|
|
|
@ -30,7 +30,7 @@ require('/jquery');
|
||||||
require('/jquery-ui');
|
require('/jquery-ui');
|
||||||
require('/farbtastic');
|
require('/farbtastic');
|
||||||
require('/excanvas');
|
require('/excanvas');
|
||||||
require('/json2');
|
JSON = require('/json2');
|
||||||
require('/undo-xpopup');
|
require('/undo-xpopup');
|
||||||
|
|
||||||
var chat = require('/chat').chat;
|
var chat = require('/chat').chat;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
// These jQuery things should create local references, but for now `require()`
|
// These jQuery things should create local references, but for now `require()`
|
||||||
// assigns to the global `$` and augments it with plugins.
|
// assigns to the global `$` and augments it with plugins.
|
||||||
require('/jquery');
|
require('/jquery');
|
||||||
require('/json2');
|
JSON = require('/json2');
|
||||||
require('/undo-xpopup');
|
require('/undo-xpopup');
|
||||||
|
|
||||||
function createCookie(name,value,days)
|
function createCookie(name,value,days)
|
||||||
|
|
Loading…
Reference in New Issue