From eafb481932694385f0f59dd29b096a7fcde96ffd Mon Sep 17 00:00:00 2001 From: Raymond de Wit Date: Mon, 23 Jun 2014 14:39:17 +0200 Subject: [PATCH] pass hbsy runtime --- src/index.coffee | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.coffee b/src/index.coffee index 40ea774..d64bf3c 100644 --- a/src/index.coffee +++ b/src/index.coffee @@ -6,7 +6,6 @@ require "madlib-settings" require "madlib-object-utils" require "madlib-xhr" - require "hbsfy/runtime" require "node-polyglot" require "moment" require "accounting" @@ -18,13 +17,12 @@ "madlib-settings" "madlib-object-utils" "madlib-xhr" - "hbsfy/runtime" "node-polyglot" "moment" "accounting" ], factory ) -)( ( Q, console, settings, objectUtils, XHR, Handlebars, Polyglot, Moment, accounting ) -> +)( ( Q, console, settings, objectUtils, XHR, Polyglot, Moment, accounting ) -> ###* # This module is used to handle translations, formatting and locale settings # @@ -39,7 +37,7 @@ initialized: false localeLocation: "./i18n" - initialize: ( locale, localeLocation ) -> + initialize: ( Handlebars, locale, localeLocation ) -> if @initialized is false