diff --git a/mustache.js b/mustache.js index 53ec272..da7b211 100644 --- a/mustache.js +++ b/mustache.js @@ -446,7 +446,7 @@ var cache = this.cache; var tokens = cache[template]; - if (tokens == null) + if (!tokens) tokens = cache[template] = parseTemplate(template, tags); return tokens;