1
0
mirror of synced 2024-11-26 14:56:07 +03:00

Fix typing mistake: "fasle" instead of "false"

This commit is contained in:
Thierry Régagnon 2012-08-09 12:49:03 +02:00
parent 289226cf6c
commit 9fd6f12380

View File

@ -396,7 +396,7 @@
*/ */
function checkFormatter(formatter, formatterName) { function checkFormatter(formatter, formatterName) {
if ($.isFunction(formatter)) return true; if ($.isFunction(formatter)) return true;
if (!formatter) return fasle; if (!formatter) return false;
throw new Error("formatterName must be a function or a falsy value"); throw new Error("formatterName must be a function or a falsy value");
} }