Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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