From 9fd6f123808d91d1767782e883725d56e7962691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thierry=20R=C3=A9gagnon?= Date: Thu, 9 Aug 2012 12:49:03 +0200 Subject: [PATCH] Fix typing mistake: "fasle" instead of "false" --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index af4a1993..8fd0c499 100755 --- a/select2.js +++ b/select2.js @@ -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"); }