Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

bug(loader): check for existing loader plugins when patching RequireJS #21

Open
EisenbergEffect opened this issue Apr 21, 2014 · 0 comments

Comments

@EisenbergEffect
Copy link
Contributor

The loader.js attempts to patch require.js by detecting all HTML files and prepending the module id with a custom loader plugin. However, it may be that files with an html extension have been explicitly required by the developer and aren't intended to be turned into view factories. To fix, detect whether the module id is already prepended by a loader plugin and bypass if it is.

@EisenbergEffect EisenbergEffect changed the title Special Case !text plugin (Bug) Check For Existing Loader Plugins When Patching RequireJS Apr 21, 2014
@EisenbergEffect EisenbergEffect changed the title (Bug) Check For Existing Loader Plugins When Patching RequireJS bug(loader) Check For Existing Loader Plugins When Patching RequireJS Apr 21, 2014
@EisenbergEffect EisenbergEffect changed the title bug(loader) Check For Existing Loader Plugins When Patching RequireJS bug(loader): Check For Existing Loader Plugins When Patching RequireJS Apr 21, 2014
@EisenbergEffect EisenbergEffect changed the title bug(loader): Check For Existing Loader Plugins When Patching RequireJS bug(loader): check for existing loader plugins when patching RequireJS Apr 21, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant