almost all js files are loaded using require.js

This commit is contained in:
Keivan Beigi 2013-06-14 16:18:37 -07:00
parent aed7b95245
commit 2407e33ea2
35 changed files with 570 additions and 717 deletions

View file

@ -1,20 +1,8 @@
"use strict";
Backgrid.Column.prototype.defaults = {
name : undefined,
label : undefined,
sortable : true,
editable : false,
renderable: true,
formatter : undefined,
cell : undefined,
headerCell: 'nzbDrone'
};
define([
'app',
'JsLibraries/backbone.backgrid.paginator'
'backgrid',
'backgrid.paginator'
], function () {
NzbDrone.Shared.Grid.Pager = Backgrid.Extension.Paginator.extend({
@ -153,4 +141,6 @@ define([
return this;
}
});
return NzbDrone.Shared.Grid.Pager;
});