Created
June 5, 2020 17:54
-
-
Save tomhodgins/5d45907341b61f317e067341ccc096ac to your computer and use it in GitHub Desktop.
A way
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
/* Load JS without check */ | |
@--script url(./path/to/plugin.js); | |
/* Check for name in global object before loading JS */ | |
@--script 'plugin' url(./path/to/plugin.js); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment