added alias for vent

pull/4/head
Keivan Beigi 10 years ago
parent 8d03850de7
commit 6867319c8d

@ -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');

@ -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');

@ -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({

@ -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');

@ -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');

@ -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');

@ -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');

@ -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({

@ -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');

@ -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({

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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(){

@ -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'});

@ -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');

@ -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');

@ -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');

@ -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'});

@ -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');

@ -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');

@ -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');

@ -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({

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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({

@ -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');

@ -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({

@ -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');

@ -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({

@ -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');

@ -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({

@ -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');

@ -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');

@ -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');

@ -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({

@ -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');

@ -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');

@ -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({

@ -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');

@ -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({

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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({

@ -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({

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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');

@ -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({

@ -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'});

@ -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({

@ -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');

@ -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',

Loading…
Cancel
Save