From a9f76e1475e4b74572bbdf6abc07ba7893bf349e Mon Sep 17 00:00:00 2001 From: kpdecker Date: Sun, 9 Feb 2014 17:21:49 -0600 Subject: [PATCH] jshint changes --- spec/builtins.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/builtins.js b/spec/builtins.js index 6d9fa0ba4..53f46ccd5 100644 --- a/spec/builtins.js +++ b/spec/builtins.js @@ -1,4 +1,4 @@ -/*global CompilerContext, shouldCompileTo, compileWithPartials */ +/*global CompilerContext, shouldCompileTo, compileWithPartials, handlebarsEnv */ describe('builtin helpers', function() { describe('#if', function() { it("if", function() { @@ -189,12 +189,14 @@ describe('builtin helpers', function() { }); it("#log", function() { - var string = "{{log blah}}"; var hash = { blah: "whee" }; var levelArg, logArg; - handlebarsEnv.log = function(level, arg){ levelArg = level, logArg = arg; }; + handlebarsEnv.log = function(level, arg){ + levelArg = level; + logArg = arg; + }; shouldCompileTo(string, hash, "", "log should not display"); equals(1, levelArg, "should call log with 1");