Created
August 25, 2015 18:52
-
-
Save lindleywhite/a7f21117d4c4a4051a43 to your computer and use it in GitHub Desktop.
This file contains 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: '/javascript', | |
paths: { | |
// Vendor Files | |
'select2': '../vendor/select2-dist/dist/js/select2.min', | |
'json2': '../vendor/json2/json2', | |
'tinyMCE': '../vendor/tinymce-dist/jquery.tinymce.min', | |
'lightbox': '../vendor/lightbox2/js/lightbox.min', | |
'animateColors': '../vendor/color-animation/jquery.animate-colors-min', | |
'videoJs': '../vendor/video.js/dist/video-js/video', | |
'pickadateLegacy' : '../vendor/pickadate/source/pickadate.legacy.min', | |
'jqueryPlugin': '../vendor/advanced-jquery-boilerplate/advanced-jquery-boilerplate.min', | |
'cookie': '../vendor/jquery-cookie/jquery.cookie', | |
// Third Party / Old Scripts | |
'fileUploader' : 'third_party/fileuploader/file_uploader.min', | |
'foundation' : 'third_party/foundation/foundation.min', | |
// Application | |
'mojo': 'mojo', | |
'app': 'app', | |
'jquery': 'jquery' | |
}, | |
shim: { | |
'app': { | |
exports: 'Mojo', | |
deps: [ | |
'foundation', | |
'fileUploader', | |
'select2', | |
'plugins/itemUpload', | |
'tinyMCE', | |
'pickadateLegacy', | |
'animateColors', | |
'videoJs', | |
'lightbox', | |
'cookie', | |
'modules/serverSetup' | |
] | |
}, | |
'foundation': { | |
exports: 'foundation' | |
}, | |
'jquery': { | |
exports: '$' | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment