Skip to content

Leveraging Script URL Rewriting for SWF Path#7

Open
dominicbarnes wants to merge 1 commit intomasterfrom
swf-path-rewrite
Open

Leveraging Script URL Rewriting for SWF Path#7
dominicbarnes wants to merge 1 commit intomasterfrom
swf-path-rewrite

Conversation

@dominicbarnes
Copy link
Member

This PR depends on componentjs/builder2.js#64 and adds support for a relative swfPath thanks to a feature of the builder. If the other PR is rejected, this will be closed as well.

For example:

Clip.swf("/public/component/clipboard-dom/v0.0.5/ZeroClipboard.swf");
// would become
Clip.swf("/public/" + Clip.swf());

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.

1 participant