From c7910f57053cd2e4bc89b9874ba34b6be9d8cb2e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 24 Nov 2013 19:01:26 +0100 Subject: try to fix template helper loading --- pyload/web/app/scripts/helpers/truncate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyload/web/app/scripts/helpers/truncate.js b/pyload/web/app/scripts/helpers/truncate.js index fb351b776..861588452 100644 --- a/pyload/web/app/scripts/helpers/truncate.js +++ b/pyload/web/app/scripts/helpers/truncate.js @@ -1,4 +1,4 @@ -require(['underscore','handlebars'], function(_, Handlebars) { +define(['underscore','handlebars'], function(_, Handlebars) { 'use strict'; function truncate(fullStr, options) { -- cgit v1.2.3