Skip to content

Fixes plugin architecture on the client side when used from inside IFrames (e.g. from linestylefilter.js)#558

Merged
JohnMcLear merged 4 commits into
ether:developfrom
jukowski:pita-plugin
Apr 2, 2012
Merged

Fixes plugin architecture on the client side when used from inside IFrames (e.g. from linestylefilter.js)#558
JohnMcLear merged 4 commits into
ether:developfrom
jukowski:pita-plugin

Conversation

@jukowski
Copy link
Copy Markdown
Contributor

file linestylefilter.js:32 requires the "hooks" module in order to notify client plugins of "aceAttribsToClasses" event. This does not work because the: plugin architecture is not initialized in the current IFrame. To test it, put a console.log(require("./pluginfw/plugins")) statement in linestylefilter.js and you'll see that it does not know of any plugins.

This patch makes the plugin architecture available from the first parent supporting require statements.

@redhog
Copy link
Copy Markdown

redhog commented Mar 22, 2012

I have merged this into my repo and it works, no conflicts either :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants