mirror of
https://github.com/danbee/tube-status-server
synced 2025-03-04 08:39:12 +00:00
18 lines
358 B
JavaScript
18 lines
358 B
JavaScript
define(['backbone',
|
|
'text!templates/header.html',
|
|
'text!templates/footer.html'],
|
|
function(Backbone, header, footer) {
|
|
|
|
var Chrome = Backbone.View.extend({
|
|
initialize: function() {
|
|
// html5 app
|
|
$('#page').prepend(header);
|
|
$('#page').append(footer);
|
|
$('body').addClass('html5');
|
|
}
|
|
});
|
|
|
|
return Chrome;
|
|
|
|
});
|