Remove require code that is unnecessary and/or incorrect.

This commit is contained in:
Chad Weider 2012-03-10 14:11:02 -08:00
parent 648603126b
commit 2fd9019792
1 changed files with 0 additions and 2 deletions

View File

@ -257,9 +257,7 @@ function Ace2Editor()
pushRequireScriptTo(iframeHTML);
// Inject my plugins into my child.
iframeHTML.push('\
<script type="text/javascript" src="../static/js/require-kernel.js"></script>\
<script type="text/javascript">\
require.setRootURI("../minified/"); require.setLibraryURI("../minified/plugins/"); require.setGlobalKeyPath("require");\
require.define("/plugins", null);\n\
require.define("/plugins.js", function (require, exports, module) {\
module.exports = require("ep_etherpad-lite/static/js/plugins");\