Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lindleywhite
Created August 25, 2015 18:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lindleywhite/a7f21117d4c4a4051a43 to your computer and use it in GitHub Desktop.
Save lindleywhite/a7f21117d4c4a4051a43 to your computer and use it in GitHub Desktop.
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