1
0
mirror of synced 2024-11-30 00:26:03 +03:00

Merge pull request #313 from tregagnon/master

Fix typing mistake
This commit is contained in:
Igor Vaynberg 2012-08-09 08:38:17 -07:00
commit 1e9cfc762f

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");
} }