parent
24c77b4047
commit
72772bed5a
@ -1,13 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
define(
|
||||
[
|
||||
'AddSeries/RootFolders/Collection',
|
||||
'handlebars'
|
||||
], function (rootFolders, Handlebars) {
|
||||
|
||||
Handlebars.registerHelper('rootFolderSelection', function () {
|
||||
var templateFunction = Marionette.TemplateCache.get('AddSeries/RootFolders/RootFolderSelectionTemplate');
|
||||
return new Handlebars.SafeString(templateFunction(rootFolders.toJSON()));
|
||||
});
|
||||
});
|
@ -1,10 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Quality/QualityProfileCollection','handlebars'], function (app, qualityProfiles,Handlebars) {
|
||||
|
||||
Handlebars.registerHelper('qualityProfileSelection', function () {
|
||||
|
||||
var templateFunction = Marionette.TemplateCache.get('Quality/QualityProfileSelectionTemplate');
|
||||
return new Handlebars.SafeString(templateFunction(qualityProfiles.toJSON()));
|
||||
});
|
||||
});
|
Loading…
Reference in new issue