diff options
author | Maxb <maxb.personal@gmail.com> | 2014-09-19 11:46:02 -0700 |
---|---|---|
committer | Maxb <maxb.personal@gmail.com> | 2014-09-19 11:46:02 -0700 |
commit | b87e601063c0d943038d22fd74ba2435d760adc1 (patch) | |
tree | b33226a86896630b18bb4870e3ab840c8210a9e1 | |
parent | a0e2e200d91c719f6475f91f20fdaea2b7886340 (diff) | |
download | handlebars.js-b87e601063c0d943038d22fd74ba2435d760adc1.zip handlebars.js-b87e601063c0d943038d22fd74ba2435d760adc1.tar.gz handlebars.js-b87e601063c0d943038d22fd74ba2435d760adc1.tar.bz2 |
Fixing indentation in spec/partials.js
-rw-r--r-- | spec/partials.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/partials.js b/spec/partials.js index e239b7f..0863487 100644 --- a/spec/partials.js +++ b/spec/partials.js @@ -41,8 +41,8 @@ describe('partials', function() { it("rendering undefined partial throws an exception", function() { shouldThrow(function() { - var template = CompilerContext.compile("{{> whatever}}"); - template(); + var template = CompilerContext.compile("{{> whatever}}"); + template(); }, Handlebars.Exception, 'The partial whatever could not be found'); }); @@ -71,10 +71,10 @@ describe('partials', function() { }); it("GH-14: a partial preceding a selector", function() { - var string = "Dudes: {{>dude}} {{another_dude}}"; - var dude = "{{name}}"; - var hash = {name:"Jeepers", another_dude:"Creepers"}; - shouldCompileToWithPartials(string, [hash, {}, {dude:dude}], true, "Dudes: Jeepers Creepers", "Regular selectors can follow a partial"); + var string = "Dudes: {{>dude}} {{another_dude}}"; + var dude = "{{name}}"; + var hash = {name:"Jeepers", another_dude:"Creepers"}; + shouldCompileToWithPartials(string, [hash, {}, {dude:dude}], true, "Dudes: Jeepers Creepers", "Regular selectors can follow a partial"); }); it("Partials with slash paths", function() { |