Преглед изворни кода

replace tokens == null with !tokens

pull/584/head
Xuefeng Zhu GitHub пре 9 година
родитељ
комит
2848163dc6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      mustache.js

+ 1
- 1
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;


Loading…
Откажи
Сачувај