Last active
December 11, 2015 04:59
-
-
Save tugberkugurlu/4549218 to your computer and use it in GitHub Desktop.
define3rdPartyModules requirejs
This file contains hidden or 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
| (function () { | |
| var root = this; | |
| define3rdPartyModules(); | |
| function define3rdPartyModules() { | |
| // These are already loaded via bundles. | |
| // We define them and put them in the root object. | |
| define('jquery', [], function () { return root.jQuery; }); | |
| define('ko', [], function () { return root.ko; }); | |
| define('amplify', [], function () { return root.amplify; }); | |
| define('moment', [], function () { return root.moment; }); | |
| define('sammy', [], function () { return root.Sammy; }); | |
| define('toastr', [], function () { return root.toastr; }); | |
| define('underscore', [], function () { return root._; }); | |
| } | |
| }()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment