Fix typing mistake: "fasle" instead of "false"
This commit is contained in:
parent
289226cf6c
commit
9fd6f12380
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user