more javascript coding rules in webstorm.

This commit is contained in:
kay.one 2013-03-30 12:01:27 -07:00
parent 6d6b236fd4
commit 754f9c5134
7 changed files with 121 additions and 5 deletions

View file

@ -1,4 +1,5 @@
define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
"use strict";
define(['app', 'Shared/ModalRegion', 'AddSeries/AddSeriesLayout',
'Series/Index/SeriesIndexCollectionView', 'Upcoming/UpcomingCollectionView',
'Calendar/CalendarCollectionView', 'Shared/NotificationView',
'Shared/NotFoundView', 'MainMenuView', 'HeaderView',
@ -13,7 +14,7 @@
NzbDrone.mainRegion.show(new NzbDrone.AddSeries.AddSeriesLayout(this, action, query));
},
series: function (action, query) {
series: function () {
this.setTitle('NzbDrone');
NzbDrone.mainRegion.show(new NzbDrone.Series.Index.SeriesIndexCollectionView());
},
@ -62,7 +63,7 @@
success: function (missing) {
NzbDrone.mainRegion.show(new NzbDrone.Missing.MissingCollectionView(this, action, query, missing));
}
})
});
},
notFound: function () {