Child frame uses parent's require.

This commit is contained in:
Chad Weider 2012-02-28 20:08:24 -08:00
parent 6fd73ecfda
commit b977e1acd6
3 changed files with 4 additions and 18 deletions

View file

@ -136,8 +136,6 @@ function getAceFile(callback) {
if (!settings.minify) {
founds = [];
}
// Always include the require kernel.
founds.push('$$INCLUDE_JS("../static/js/require-kernel.js")');
data += ';\n';
data += 'Ace2Editor.EMBEDED = Ace2Editor.EMBEDED || {};\n';