You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
689 B
52 lines
689 B
/*jslint laxbreak:true */
|
|
/*jslint laxcomma:true */
|
|
/*jslint loopfunc:true */
|
|
/*jslint strict:true */
|
|
/*jslint browser:true */
|
|
/*jslint devel:true */
|
|
|
|
define([
|
|
"underscore"
|
|
, "jquery"
|
|
, "backbone"
|
|
|
|
, "views/browser"
|
|
, "views/list"
|
|
|
|
, "text!../../templates/client/browser-layout.html"
|
|
|
|
, "jquery-layout"
|
|
]
|
|
, function (
|
|
_
|
|
, $
|
|
, Backbone
|
|
|
|
, BrowserView
|
|
, ListView
|
|
|
|
, tmplBrowserLayout
|
|
) {
|
|
"use strict";
|
|
|
|
var Browser = Backbone.View.extend({
|
|
client: null
|
|
|
|
, layout: null
|
|
|
|
, browserView: null
|
|
|
|
, listView: null
|
|
|
|
, initialize: function (client) {
|
|
var that = this
|
|
;
|
|
|
|
Browser.__super__.initialize.apply(that);
|
|
|
|
that.client = client;
|
|
}
|
|
});
|
|
|
|
return Browser;
|
|
}); |