bigbluebutton-Github/client/bbb-html5-client/public/js/build.js
2014-01-06 08:44:15 -08:00

54 lines
1.5 KiB
JavaScript

({
baseUrl: '.',
// Uncomment to turn off uglify minification.
// optimize: 'none',
// Stub these module after a build since they will not be needed.
stubModules: ['cs', 'coffee-script'],
name: 'main',
out: 'main-dist.js',
shim: {
'colorwheel': ['raphael'],
'textflow': ['textflow-helper'],
'backbone': {
deps: ["underscore"],
exports: "Backbone"
},
'underscore': {
exports: "_"
}
},
paths: {
'cs': 'lib/require/cs',
'coffee-script': 'lib/coffee-script',
'globals': 'empty:',
// TODO: r.js doesn't accept urls, so jquery can't be loaded from googleapis. For
// now it is being loaded directly in the html (not by require.js).
'jquery': 'empty:',
'jquery.ui': 'empty:',
'jquery.mousewheel': 'lib/jquery/jquery.mousewheel.min',
'jquery.autosize': 'lib/jquery/jquery.autosize-min',
'jquery.form': 'lib/jquery/jquery.form',
'raphael': 'lib/raphael/raphael.amd',
'raphael.core': 'lib/raphael/raphael.core',
'raphael.vml': 'lib/raphael/raphael.vml',
'raphael.svg': 'lib/raphael/raphael.svg',
'scale.raphael': 'lib/raphael/scale.raphael',
'eve': 'lib/raphael/eve',
'colorwheel': 'lib/colorwheel',
'socket.io': 'lib/socket.io',
'underscore': 'lib/underscore-min',
'backbone': 'lib/backbone-min',
'textflow-helper': 'lib/textflow-helper',
'textflow': 'lib/textflow',
'text': 'lib/require/text',
'templates': '../templates',
}
})