bigbluebutton-Github/labs/bbb-html5-client/public/js/main.js
Leonardo Crauss Daronco 27f4a00940 First version with require.js in the client side
Events trigger from the chat view are not working yet.
2012-12-08 20:27:27 -02:00

42 lines
941 B
JavaScript

requirejs.config({
baseUrl: 'js/lib',
shim: {
'colorwheel': ['raphael'],
'jquery.form': ['jquery'],
'jquery.mousewheel': ['jquery'],
'jquery.autosize': ['jquery'],
'jquery.ui': ['jquery']
},
paths: {
'jquery': 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min',
'raphael': 'raphael.amd',
'colorwheel': 'colorwheel',
'jquery.mousewheel': 'jquery.mousewheel.min',
'jquery.autosize': 'jquery.autosize-min',
'jquery.form': 'jquery.form',
'jquery.ui': 'jq-ui',
'socket.io': '/socket.io/socket.io',
'textflow': 'textflow',
'textflow-helper': 'textflow-helper',
'eve': 'eve',
'chat': '../chat'
}
});
require([
'jquery',
'jquery.mousewheel',
'jquery.autosize',
'jquery.form',
'jquery.ui',
'socket.io',
'raphael',
'colorwheel',
'textflow',
'textflow-helper',
'chat/whiteboard',
'chat/chat',
'chat/behaviour',
'chat/connection'
]);