mirror of
https://github.com/fergalmoran/peneloplay.git
synced 2025-12-22 09:51:27 +00:00
66 lines
2.0 KiB
JavaScript
66 lines
2.0 KiB
JavaScript
require.config({
|
|
|
|
paths: {
|
|
jquery: '../bower_components/jquery/jquery',
|
|
bootstrapAffix: '../bower_components/sass-bootstrap/js/affix',
|
|
bootstrapAlert: '../bower_components/sass-bootstrap/js/alert',
|
|
bootstrapButton: '../bower_components/sass-bootstrap/js/button',
|
|
bootstrapCarousel: '../bower_components/sass-bootstrap/js/carousel',
|
|
bootstrapCollapse: '../bower_components/sass-bootstrap/js/collapse',
|
|
bootstrapDropdown: '../bower_components/sass-bootstrap/js/dropdown',
|
|
bootstrapPopover: '../bower_components/sass-bootstrap/js/popover',
|
|
bootstrapScrollspy: '../bower_components/sass-bootstrap/js/scrollspy',
|
|
bootstrapTab: '../bower_components/sass-bootstrap/js/tab',
|
|
bootstrapTooltip: '../bower_components/sass-bootstrap/js/tooltip',
|
|
bootstrapTransition: '../bower_components/sass-bootstrap/js/transition',
|
|
rxjs: '../bower_components/rxjs/rx',
|
|
mediaelement: '../bower_components/mediaelement/build/mediaelement',
|
|
soundmanager2: '../lib/sm/script/soundmanager2'
|
|
},
|
|
shim: {
|
|
bootstrapAffix: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapAlert: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapButton: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapCarousel: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapCollapse: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapDropdown: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapPopover: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapScrollspy: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapTab: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapTooltip: {
|
|
deps: ['jquery']
|
|
},
|
|
bootstrapTransition: {
|
|
deps: ['jquery']
|
|
},
|
|
'soundmanager2': {
|
|
exports: 'soundManager'
|
|
}
|
|
}
|
|
});
|
|
|
|
require(['app', 'jquery'], function (app, $) {
|
|
'use strict';
|
|
// use app here
|
|
console.log(app);
|
|
console.log('Running jQuery %s', $().jquery);
|
|
});
|