From e75d1a16663c13b276abbba9c90ee2387fb2479c Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Tue, 20 Jan 2015 01:45:00 +1100 Subject: [PATCH] fix helper identifiers --- lib/6to5/file.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/6to5/file.js b/lib/6to5/file.js index 894f7ca869..7d15509388 100644 --- a/lib/6to5/file.js +++ b/lib/6to5/file.js @@ -212,6 +212,7 @@ File.prototype.addHelper = function (name) { var runtime = this.get("runtimeIdentifier"); if (runtime) { + name = t.identifier(t.toIdentifier(name)); return t.memberExpression(runtime, name); } else { var ref = util.template(name);