commonjsed SearchResultView
This commit is contained in:
parent
408a4e0a81
commit
32dd545ef9
|
@ -1,33 +1,19 @@
|
||||||
'use strict';
|
var _ = require('underscore');
|
||||||
define(
|
var vent = require('vent');
|
||||||
[
|
var AppLayout = require('../AppLayout');
|
||||||
'underscore',
|
var Backbone = require('backbone');
|
||||||
'vent',
|
var Marionette = require('marionette');
|
||||||
'AppLayout',
|
var Profiles = require('../Profile/ProfileCollection');
|
||||||
'backbone',
|
var RootFolders = require('./RootFolders/RootFolderCollection');
|
||||||
'marionette',
|
var RootFolderLayout = require('./RootFolders/RootFolderLayout');
|
||||||
'Profile/ProfileCollection',
|
var SeriesCollection = require('../Series/SeriesCollection');
|
||||||
'AddSeries/RootFolders/RootFolderCollection',
|
var Config = require('../Config');
|
||||||
'AddSeries/RootFolders/RootFolderLayout',
|
var Messenger = require('../Shared/Messenger');
|
||||||
'Series/SeriesCollection',
|
var AsValidatedView = require('../Mixins/AsValidatedView');
|
||||||
'Config',
|
|
||||||
'Shared/Messenger',
|
|
||||||
'Mixins/AsValidatedView',
|
|
||||||
'jquery.dotdotdot'
|
|
||||||
], function (_,
|
|
||||||
vent,
|
|
||||||
AppLayout,
|
|
||||||
Backbone,
|
|
||||||
Marionette,
|
|
||||||
Profiles,
|
|
||||||
RootFolders,
|
|
||||||
RootFolderLayout,
|
|
||||||
SeriesCollection,
|
|
||||||
Config,
|
|
||||||
Messenger,
|
|
||||||
AsValidatedView) {
|
|
||||||
|
|
||||||
var view = Marionette.ItemView.extend({
|
require('jquery.dotdotdot');
|
||||||
|
|
||||||
|
var view = Marionette.ItemView.extend({
|
||||||
|
|
||||||
template: 'AddSeries/SearchResultViewTemplate',
|
template: 'AddSeries/SearchResultViewTemplate',
|
||||||
|
|
||||||
|
@ -295,9 +281,8 @@ define(
|
||||||
|
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
AsValidatedView.apply(view);
|
AsValidatedView.apply(view);
|
||||||
|
|
||||||
return view;
|
module.exports = view;
|
||||||
});
|
|
Loading…
Reference in New Issue