Merge pull request #382 from cweider/fixes

Fixes
pull/381/merge
John McLear 2012-01-30 15:29:11 -08:00
commit 9ed42ac801
4 changed files with 5 additions and 2 deletions

View File

@ -469,3 +469,5 @@ if (!JSON)
};
}
}());
module.exports = JSON;

View File

@ -30,7 +30,7 @@ require('/jquery');
require('/jquery-ui');
require('/farbtastic');
require('/excanvas');
require('/json2');
JSON = require('/json2');
require('/undo-xpopup');
var chat = require('/chat').chat;

View File

@ -141,6 +141,7 @@ var padeditor = (function()
if (self.ace)
{
self.ace.destroy();
self.ace = null;
}
},
disable: function()

View File

@ -23,7 +23,7 @@
// These jQuery things should create local references, but for now `require()`
// assigns to the global `$` and augments it with plugins.
require('/jquery');
require('/json2');
JSON = require('/json2');
require('/undo-xpopup');
function createCookie(name,value,days)