Просмотр исходного кода

More spelling mistake fixes

tags/0.5.0-vsc
thegrandpoobah 16 лет назад
Родитель
Сommit
336d21a1a4
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mustache.js

+ 2
- 2
mustache.js Просмотреть файл

@@ -211,7 +211,7 @@ var Mustache = function() {
find: function(name, context) { find: function(name, context) {
name = this.trim(name); name = this.trim(name);


// Checks whether a value is thruthy or false or 0
// Checks whether a value is truthy or false or 0
function is_kinda_truthy(bool) { function is_kinda_truthy(bool) {
return bool === false || bool === 0 || bool; return bool === false || bool === 0 || bool;
} }
@@ -244,7 +244,7 @@ var Mustache = function() {
} }
} }
} }
// silently ignore unkown variables
// silently ignore unknown variables
return ""; return "";
}, },




Загрузка…
Отмена
Сохранить