From 6be0ded0197551ddc98c9d85b07165828969bb1c Mon Sep 17 00:00:00 2001 From: dev101 Date: Thu, 21 Jan 2016 17:47:39 +0300 Subject: [PATCH] Removed brackets in typeof --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index d715f6e..99b4a83 100644 --- a/Sortable.js +++ b/Sortable.js @@ -255,7 +255,7 @@ // Bind all private methods for (var fn in this) { - if (fn.charAt(0) === '_' && typeof(this[fn]) === 'function') { + if (fn.charAt(0) === '_' && typeof this[fn] === 'function') { this[fn] = this[fn].bind(this); } }