commit
1e9cfc762f
@ -396,7 +396,7 @@
|
||||
*/
|
||||
function checkFormatter(formatter, formatterName) {
|
||||
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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user