summaryrefslogtreecommitdiffstats
path: root/spec/qunit_spec.js
diff options
context:
space:
mode:
authorAlan Johnson <alan@commondream.net>2011-09-02 10:56:37 -0400
committerAlan Johnson <alan@commondream.net>2011-09-02 10:56:37 -0400
commit6b18873d235bcfe40540d3cf569053f795f01405 (patch)
treef55bd5adce20ef9c48997a4a82b67daa135e3952 /spec/qunit_spec.js
parentc1c455acc80ff17b6ef49abd24d0b01fa21e072a (diff)
downloadhandlebars.js-6b18873d235bcfe40540d3cf569053f795f01405.zip
handlebars.js-6b18873d235bcfe40540d3cf569053f795f01405.tar.gz
handlebars.js-6b18873d235bcfe40540d3cf569053f795f01405.tar.bz2
Fixed errors occurring because of undefined properties on nested paths.
Diffstat (limited to 'spec/qunit_spec.js')
-rw-r--r--spec/qunit_spec.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/qunit_spec.js b/spec/qunit_spec.js
index 45ddcd8..3e66a9b 100644
--- a/spec/qunit_spec.js
+++ b/spec/qunit_spec.js
@@ -964,7 +964,6 @@ module("Regressions")
test("GH-94: Cannot read property of undefined", function() {
var data = {"books":[{"title":"The origin of species","author":{"name":"Charles Darwin"}},{"title":"Lazarillo de Tormes"}]};
var string = "{{#books}}{{title}}{{author.name}}{{/books}}";
- p(tpl);
shouldCompileTo(string, data, "The origin of speciesCharles DarwinLazarillo de Tormes",
"Renders without an undefined property error");
}); \ No newline at end of file