From 3bee4d58fc326de0ca0eb729534f97438ad31fc7 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Sun, 19 May 2013 23:12:10 -0400 Subject: [PATCH] fix bug in generate_known_helpers_hash was previously undetected due to a bug in Handlebars: https://github.com/wycats/handlebars.js/issues/302 --- lib/handlebars_assets/config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/handlebars_assets/config.rb b/lib/handlebars_assets/config.rb index 6e31f85..f987d4e 100644 --- a/lib/handlebars_assets/config.rb +++ b/lib/handlebars_assets/config.rb @@ -70,6 +70,7 @@ def template_namespace def generate_known_helpers_hash known_helpers.inject({}) do |hash, helper| hash[helper] = true + hash end end