forked from LinkedInAttic/inject
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves LinkedInAtticgh-244 option to disable define.amd
Config option and tests added to disable the global define.amd This change and tests enables a user to mix script tags with their loader, with an interface to enable/disable the primary form of detection: define.amd. This addresses use cases where a user has loaded Inject, and then places a script tag on the page that tests for define&&define.amd, attempting to register an anonymous module. LinkedInAtticgh-244
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters