Created
November 13, 2015 01:39
-
-
Save inspectlet/b83e71cba12550828cda to your computer and use it in GitHub Desktop.
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
| requirejs.config({ | |
| baseUrl: '/js', | |
| deps: ['main', 'inspectlet'], | |
| paths: { | |
| //other paths | |
| 'inspectlet': 'apps/inspectlet/inspectlet', | |
| //jquery below is only as example - not needed | |
| 'jquery': '../bower/jquery/dist/jquery', | |
| 'jqueryui': '../bower/jquery-ui/jquery-ui', | |
| }, | |
| shim: { | |
| jquery: { | |
| exports: "jQuery" | |
| }, | |
| "jqueryui": { | |
| export: "jQuery", | |
| deps: ['jquery'] | |
| }, | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment