Created
April 18, 2016 08:49
-
-
Save lpaulger/d5755727576b97c7cc681b8d5f161e6a to your computer and use it in GitHub Desktop.
and example of how to reference module code in old legacy (namespace) javascript code
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
window.MyCompany.Utilities = { | |
foo: window.MyModule.foo, | |
bar: window.MyModule.bar | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment