38 lines
818 B
JavaScript
38 lines
818 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',
|
|
'jquery.mousewheel': 'jquery.mousewheel.min',
|
|
'jquery.autosize': 'jquery.autosize-min',
|
|
'jquery.ui': 'jq-ui',
|
|
'socket.io': '/socket.io/socket.io',
|
|
'chat': '../chat'
|
|
}
|
|
});
|
|
|
|
require([
|
|
'coffee-script',
|
|
'jquery',
|
|
'jquery.mousewheel',
|
|
'jquery.autosize',
|
|
'jquery.form',
|
|
'jquery.ui',
|
|
'socket.io',
|
|
'raphael',
|
|
'colorwheel',
|
|
'textflow',
|
|
'textflow-helper',
|
|
'cs!chat/connection',
|
|
'cs!chat/whiteboard',
|
|
'cs!chat/chat',
|
|
'cs!chat/behaviour'
|
|
]);
|