almost all js files are loaded using require.js

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

View file

@ -1,6 +1,6 @@
"use strict";
define(['app' ], function () {
define(['app','backgrid' ], function () {
NzbDrone.Cells.EpisodeStatusCell = Backgrid.Cell.extend({
className: 'episode-status-cell',

View file

@ -1,6 +1,6 @@
"use strict";
define(['app', 'Shared/FormatHelpers'], function () {
define(['app', 'Shared/FormatHelpers','backgrid'], function () {
NzbDrone.Cells.FileSizeCell = Backgrid.Cell.extend({
className: "file-size-cell",

View file

@ -1,5 +1,5 @@
"use strict";
define(['app'], function () {
define(['app','backgrid'], function () {
NzbDrone.Cells.IndexerCell = Backgrid.Cell.extend({
class : 'indexer-cell',

View file

@ -1,6 +1,6 @@
"use strict";
define(['app'], function () {
define(['app','backgrid'], function () {
NzbDrone.Cells.NzbDroneCell = Backgrid.Cell.extend({
_originalInit: Backgrid.Cell.prototype.initialize,