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