added alias for vent

This commit is contained in:
Keivan Beigi 2015-02-07 10:30:02 -08:00
parent 8d03850de7
commit 6867319c8d
69 changed files with 73 additions and 73 deletions

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var BlacklistCollection = require('./BlacklistCollection'); var BlacklistCollection = require('./BlacklistCollection');

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var HistoryDetailsView = require('./HistoryDetailsView'); var HistoryDetailsView = require('./HistoryDetailsView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var NzbDroneCell = require('../../Cells/NzbDroneCell'); var NzbDroneCell = require('../../Cells/NzbDroneCell');
module.exports = NzbDroneCell.extend({ module.exports = NzbDroneCell.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var AppLayout = require('../AppLayout'); var AppLayout = require('../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var RootFolderLayout = require('./RootFolders/RootFolderLayout'); var RootFolderLayout = require('./RootFolders/RootFolderLayout');

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var AddSeriesCollection = require('./AddSeriesCollection'); var AddSeriesCollection = require('./AddSeriesCollection');
var SearchResultCollectionView = require('./SearchResultCollectionView'); var SearchResultCollectionView = require('./SearchResultCollectionView');

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var moment = require('moment'); var moment = require('moment');
var CalendarCollection = require('./Collection'); var CalendarCollection = require('./Collection');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var moment = require('moment'); var moment = require('moment');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
module.exports = Backgrid.Cell.extend({ module.exports = Backgrid.Cell.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var NzbDroneCell = require('./NzbDroneCell'); var NzbDroneCell = require('./NzbDroneCell');
var CommandController = require('../Commands/CommandController'); var CommandController = require('../Commands/CommandController');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var NzbDroneCell = require('./NzbDroneCell'); var NzbDroneCell = require('./NzbDroneCell');
module.exports = NzbDroneCell.extend({ module.exports = NzbDroneCell.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var NzbDroneCell = require('./NzbDroneCell'); var NzbDroneCell = require('./NzbDroneCell');
var CommandController = require('../Commands/CommandController'); var CommandController = require('../Commands/CommandController');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var CommandModel = require('./CommandModel'); var CommandModel = require('./CommandModel');
var CommandCollection = require('./CommandCollection'); var CommandCollection = require('./CommandCollection');
var CommandMessengerCollectionView = require('./CommandMessengerCollectionView'); var CommandMessengerCollectionView = require('./CommandMessengerCollectionView');

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var NzbDroneCell = require('../../Cells/NzbDroneCell'); var NzbDroneCell = require('../../Cells/NzbDroneCell');

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var NzbDroneCell = require('../../Cells/NzbDroneCell'); var NzbDroneCell = require('../../Cells/NzbDroneCell');
var HistoryDetailsView = require('../../Activity/History/Details/HistoryDetailsView'); var HistoryDetailsView = require('../../Activity/History/Details/HistoryDetailsView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var ButtonsView = require('./ButtonsView'); var ButtonsView = require('./ButtonsView');
var ManualSearchLayout = require('./ManualLayout'); var ManualSearchLayout = require('./ManualLayout');

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../vent'); var vent = require('vent');
var HotkeysView = require('./HotkeysView'); var HotkeysView = require('./HotkeysView');
module.exports = (function(){ module.exports = (function(){

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({template : 'Hotkeys/HotkeysViewTemplate'}); module.exports = Marionette.ItemView.extend({template : 'Hotkeys/HotkeysViewTemplate'});

View File

@ -1,5 +1,5 @@
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../vent'); var vent = require('vent');
require('../Shared/FileBrowser/FileBrowserLayout'); require('../Shared/FileBrowser/FileBrowserLayout');
require('./DirectoryAutoComplete'); require('./DirectoryAutoComplete');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var _ = require('underscore'); var _ = require('underscore');
var Backbone = require('backbone'); var Backbone = require('backbone');

View File

@ -1,6 +1,6 @@
var _ = require('underscore'); var _ = require('underscore');
var $ = require('jquery'); var $ = require('jquery');
var vent = require('../vent'); var vent = require('vent');
var Backbone = require('backbone'); var Backbone = require('backbone');
var SeriesCollection = require('../Series/SeriesCollection'); var SeriesCollection = require('../Series/SeriesCollection');
require('typeahead'); require('typeahead');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({template : 'Rename/RenamePreviewEmptyCollectionViewTemplate'}); module.exports = Marionette.ItemView.extend({template : 'Rename/RenamePreviewEmptyCollectionViewTemplate'});

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var NamingModel = require('../Settings/MediaManagement/Naming/NamingModel'); var NamingModel = require('../Settings/MediaManagement/Naming/NamingModel');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var AsModelBoundView = require('../Mixins/AsModelBoundView'); var AsModelBoundView = require('../Mixins/AsModelBoundView');

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var RenamePreviewCollection = require('./RenamePreviewCollection'); var RenamePreviewCollection = require('./RenamePreviewCollection');
var RenamePreviewCollectionView = require('./RenamePreviewCollectionView'); var RenamePreviewCollectionView = require('./RenamePreviewCollectionView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var ToggleCell = require('../../Cells/EpisodeMonitoredCell'); var ToggleCell = require('../../Cells/EpisodeMonitoredCell');

View File

@ -1,6 +1,6 @@
var $ = require('jquery'); var $ = require('jquery');
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../vent'); var vent = require('vent');
var reqres = require('../../reqres'); var reqres = require('../../reqres');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backbone = require('backbone'); var Backbone = require('backbone');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Profiles = require('../../Profile/ProfileCollection'); var Profiles = require('../../Profile/ProfileCollection');
var AsModelBoundView = require('../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../Mixins/AsModelBoundView');

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../../vent'); var vent = require('vent');
var Backbone = require('backbone'); var Backbone = require('backbone');
var Marionette = require('marionette'); var Marionette = require('marionette');
var CommandController = require('../../../Commands/CommandController'); var CommandController = require('../../../Commands/CommandController');

View File

@ -1,7 +1,7 @@
var _ = require('underscore'); var _ = require('underscore');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var vent = require('../../vent'); var vent = require('vent');
var Profiles = require('../../Profile/ProfileCollection'); var Profiles = require('../../Profile/ProfileCollection');
var RootFolders = require('../../AddSeries/RootFolders/RootFolderCollection'); var RootFolders = require('../../AddSeries/RootFolders/RootFolderCollection');
var ToolbarLayout = require('../../Shared/Toolbar/ToolbarLayout'); var ToolbarLayout = require('../../Shared/Toolbar/ToolbarLayout');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var EmptyView = require('../Index/EmptyView'); var EmptyView = require('../Index/EmptyView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var SeriesIndexItemView = require('../SeriesIndexItemView'); var SeriesIndexItemView = require('../SeriesIndexItemView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var SeriesIndexItemView = require('../SeriesIndexItemView'); var SeriesIndexItemView = require('../SeriesIndexItemView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var CommandController = require('../../Commands/CommandController'); var CommandController = require('../../Commands/CommandController');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('../Delete/DownloadClientDeleteView'); var DeleteView = require('../Delete/DownloadClientDeleteView');
var AsModelBoundView = require('../../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../../Mixins/AsModelBoundView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../../vent'); var vent = require('vent');
var AppLayout = require('../../../AppLayout'); var AppLayout = require('../../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('./RemotePathMappingDeleteView'); var DeleteView = require('./RemotePathMappingDeleteView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('../Delete/IndexerDeleteView'); var DeleteView = require('../Delete/IndexerDeleteView');
var AsModelBoundView = require('../../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../../Mixins/AsModelBoundView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../../vent'); var vent = require('vent');
var AppLayout = require('../../../AppLayout'); var AppLayout = require('../../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('./RestrictionDeleteView'); var DeleteView = require('./RestrictionDeleteView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var AsModelBoundView = require('../../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../../Mixins/AsModelBoundView');
var AsValidatedView = require('../../../Mixins/AsValidatedView'); var AsValidatedView = require('../../../Mixins/AsValidatedView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var AsModelBoundView = require('../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../Mixins/AsModelBoundView');
var AsValidatedView = require('../../Mixins/AsValidatedView'); var AsValidatedView = require('../../Mixins/AsValidatedView');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('../Delete/NotificationDeleteView'); var DeleteView = require('../Delete/NotificationDeleteView');
var AsModelBoundView = require('../../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../../Mixins/AsModelBoundView');

View File

@ -1,6 +1,6 @@
var $ = require('jquery'); var $ = require('jquery');
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../../vent'); var vent = require('vent');
var AppLayout = require('../../../AppLayout'); var AppLayout = require('../../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backbone = require('backbone'); var Backbone = require('backbone');

View File

@ -1,4 +1,4 @@
var vent = require('../../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../../vent'); var vent = require('vent');
var AppLayout = require('../../../../AppLayout'); var AppLayout = require('../../../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var DeleteView = require('../Delete/DelayProfileDeleteView'); var DeleteView = require('../Delete/DelayProfileDeleteView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({ module.exports = Marionette.ItemView.extend({

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../../vent'); var vent = require('vent');
var AppLayout = require('../../../AppLayout'); var AppLayout = require('../../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backbone = require('backbone'); var Backbone = require('backbone');

View File

@ -1,6 +1,6 @@
var $ = require('jquery'); var $ = require('jquery');
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backbone = require('backbone'); var Backbone = require('backbone');
var GeneralSettingsModel = require('./General/GeneralSettingsModel'); var GeneralSettingsModel = require('./General/GeneralSettingsModel');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var DeepModel = require('backbone.deepmodel'); var DeepModel = require('backbone.deepmodel');
var AsChangeTrackingModel = require('../Mixins/AsChangeTrackingModel'); var AsChangeTrackingModel = require('../Mixins/AsChangeTrackingModel');
var Messenger = require('../Shared/Messenger'); var Messenger = require('../Shared/Messenger');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var UiSettingsModel = require('../../Shared/UiSettingsModel'); var UiSettingsModel = require('../../Shared/UiSettingsModel');
var AsModelBoundView = require('../../Mixins/AsModelBoundView'); var AsModelBoundView = require('../../Mixins/AsModelBoundView');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var AppLayout = require('../../AppLayout'); var AppLayout = require('../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');

View File

@ -1,5 +1,5 @@
var _ = require('underscore'); var _ = require('underscore');
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var FileBrowserCollection = require('./FileBrowserCollection'); var FileBrowserCollection = require('./FileBrowserCollection');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var NzbDroneCell = require('../../Cells/NzbDroneCell'); var NzbDroneCell = require('../../Cells/NzbDroneCell');
module.exports = NzbDroneCell.extend({ module.exports = NzbDroneCell.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var NzbDroneCell = require('../../Cells/NzbDroneCell'); var NzbDroneCell = require('../../Cells/NzbDroneCell');
module.exports = NzbDroneCell.extend({ module.exports = NzbDroneCell.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var AppLayout = require('../../AppLayout'); var AppLayout = require('../../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var EditSeriesView = require('../../Series/Edit/EditSeriesView'); var EditSeriesView = require('../../Series/Edit/EditSeriesView');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var AppLayout = require('../AppLayout'); var AppLayout = require('../AppLayout');
var Marionette = require('marionette'); var Marionette = require('marionette');
var NotFoundView = require('./NotFoundView'); var NotFoundView = require('./NotFoundView');

View File

@ -1,4 +1,4 @@
var vent = require('../vent'); var vent = require('vent');
var $ = require('jquery'); var $ = require('jquery');
var Messenger = require('./Messenger'); var Messenger = require('./Messenger');
var StatusModel = require('../System/StatusModel'); var StatusModel = require('../System/StatusModel');

View File

@ -1,4 +1,4 @@
var vent = require('../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var BackupCollection = require('./BackupCollection'); var BackupCollection = require('./BackupCollection');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var DiskSpaceCollection = require('./DiskSpaceCollection'); var DiskSpaceCollection = require('./DiskSpaceCollection');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var FilenameCell = require('./FilenameCell'); var FilenameCell = require('./FilenameCell');

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
module.exports = Backgrid.Row.extend({ module.exports = Backgrid.Row.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
module.exports = Marionette.ItemView.extend({template : 'System/Logs/Table/Details/LogDetailsViewTemplate'}); module.exports = Marionette.ItemView.extend({template : 'System/Logs/Table/Details/LogDetailsViewTemplate'});

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
module.exports = Backgrid.Row.extend({ module.exports = Backgrid.Row.extend({

View File

@ -1,4 +1,4 @@
var vent = require('../../../vent'); var vent = require('vent');
var Marionette = require('marionette'); var Marionette = require('marionette');
var Backgrid = require('backgrid'); var Backgrid = require('backgrid');
var LogTimeCell = require('./LogTimeCell'); var LogTimeCell = require('./LogTimeCell');

View File

@ -6,7 +6,7 @@ module.exports = {
resolve : { resolve : {
root : path.join(__dirname, "src", "ui"), root : path.join(__dirname, "src", "ui"),
alias : { alias : {
'templates' : '/templates', 'vent' : 'vent',
'backbone' : 'Shims/backbone', 'backbone' : 'Shims/backbone',
'moment' : 'JsLibraries/moment', 'moment' : 'JsLibraries/moment',
'filesize' : 'JsLibraries/filesize', 'filesize' : 'JsLibraries/filesize',