bigbluebutton-Github/labs/bbb-html5-client/views/layout.jade
Leonardo Crauss Daronco 98d4cba3c8 Use r.js to optimize the html5 client
Development works as it was before. In production the js file loaded is the optimized one.

Had to wrap the colorwheel plugin in a define() call.
jQuery now is always loaded from googleapis, the local files were removed.
2012-12-19 16:42:58 -02:00

31 lines
875 B
Plaintext
Executable File

!!! 5
html
head
block head
title= title
link(rel="stylesheet", href="css/jquery-ui-1.9.2.custom.min.css")
link(rel="stylesheet", href="css/reset.css")
link(rel="stylesheet", href="css/font-awesome.css")
link(rel="stylesheet", href="css/layout.css")
body
block content
#container
script(src='/js/lib/require/require-min.js')
- if (typeof(meetings) == 'undefined')
- meetings = []
script(type='text/javascript')
define('globals', function() {
return {
bootstrappedMeetings: !{JSON.stringify(meetings)}
};
});
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js')
script(src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js')
- if (h_environment == "development")
script(src='/js/main.js')
- else
script(src='/js/main-dist.js')