|
|
|
@ -24,6 +24,8 @@ _
|
|
|
|
|
|
|
|
|
|
var Player = Backbone.View.extend({
|
|
|
|
|
el: $("body > div.ui-layout-north")
|
|
|
|
|
, elViewport: null
|
|
|
|
|
, $elViewport: null
|
|
|
|
|
|
|
|
|
|
, playIndex: []
|
|
|
|
|
|
|
|
|
@ -37,7 +39,12 @@ _
|
|
|
|
|
|
|
|
|
|
that.$el.html(tmplPlayerLayout);
|
|
|
|
|
|
|
|
|
|
that.$el.find("div:last").html(_.template(tmplPlayerStatus)({}));
|
|
|
|
|
that.elViewport = document.createElement("div");
|
|
|
|
|
that.$elViewport = $(that.elViewport);
|
|
|
|
|
|
|
|
|
|
that.$elViewport.html(_.template(tmplPlayerStatus)({}));
|
|
|
|
|
|
|
|
|
|
that.$el.append(that.elViewport);
|
|
|
|
|
|
|
|
|
|
return that;
|
|
|
|
|
}
|
|
|
|
|