Created
October 19, 2012 03:48
-
-
Save aranm/3916122 to your computer and use it in GitHub Desktop.
Require Config with jQuery
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({ | |
paths: { | |
//3rd Party libraries | |
'knockout': 'knockout-2.2.0.debug', | |
'jquery': 'jquery-1.7.1', | |
'doubletap': 'jquery.doubletap', | |
'address': 'jquery.address-1.4.min', | |
'bootstrap': 'bootstrap-2.0.1', | |
'amplify': 'amplify', | |
'JQueryDictionary": "Utilities/JQueryDictionary', | |
'fieldSelection': "JQueryPlugins/fieldSelection", | |
'jquery.scrollintoview': 'jquery.scrollintoview' | |
}, | |
shim: { | |
'bootstrap': { | |
deps: ['jquery'] | |
}, | |
'doubletap': { | |
deps: ['jquery'] | |
}, | |
'amplify': { | |
deps: ['jquery'] | |
}, | |
'fieldSelection': { | |
deps: ['jquery'] | |
}, | |
'jquery.scrollintoview': { | |
deps: ['jquery'] | |
}, | |
'JQueryDictionary': { | |
deps: ['jquery'] | |
}, | |
'address': { | |
deps: ['jquery'], | |
exports: 'address' | |
}, | |
'jquery': { | |
exports: ['jQuery', '$'] | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment