handlebars and templates are loaded with require.js

This commit is contained in:
Keivan Beigi 2013-06-14 16:36:59 -07:00
commit 7c483e2db9
8 changed files with 13 additions and 20 deletions

View file

@ -1,6 +1,6 @@
'use strict';
define(['app', 'AddSeries/RootFolders/RootFolderCollection'], function (app, rootFolders) {
define(['app', 'AddSeries/RootFolders/RootFolderCollection','handlebars'], function (app, rootFolders, Handlebars) {
Handlebars.registerHelper('rootFolderSelection', function () {
//TODO: We should be able to pass in the context, either an object or a property