Created
June 9, 2015 14:51
-
-
Save DWboutin/4a7de180f8102f655222 to your computer and use it in GitHub Desktop.
require.js shims and stuff
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
require.config({ | |
baseUrl: 'js/', | |
shim: { | |
myPlugin: { | |
deps: ['jquery'] | |
}, | |
jquery: { | |
exports: 'jQuery' | |
} | |
}, | |
paths: { | |
jquery: 'vendor/jquery-1.11.2.min', | |
myPlugin: 'vendor/myPlugin.jquery.js', | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment