From 1a64a6c1c5ece11307db152581ae51d34a9449bf Mon Sep 17 00:00:00 2001 From: Constantin Jucovschi Date: Wed, 14 Mar 2012 11:45:25 +0100 Subject: [PATCH] makes plugin architecture work in client-side from inside IFrames as well --- src/static/js/ace.js | 5 ++++ src/static/js/pluginfw/parent_require.js | 37 ++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/static/js/pluginfw/parent_require.js diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 1306dba01..659503d86 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -261,6 +261,11 @@ require.setGlobalKeyPath("require");\n\ // Inject my plugins into my child. iframeHTML.push('\