2013-05-28 05:40:58 +00:00
|
|
|
'use strict';
|
|
|
|
|
2013-06-14 23:36:59 +00:00
|
|
|
define(['app', 'Quality/QualityProfileCollection','handlebars'], function (app, qualityProfiles,Handlebars) {
|
2013-05-28 05:40:58 +00:00
|
|
|
|
|
|
|
Handlebars.registerHelper('qualityProfileSelection', function () {
|
|
|
|
|
|
|
|
var templateFunction = Marionette.TemplateCache.get('Quality/QualityProfileSelectionTemplate');
|
|
|
|
return new Handlebars.SafeString(templateFunction(qualityProfiles.toJSON()));
|
|
|
|
});
|
|
|
|
});
|