Browse Source

Merge pull request #3 from dev101/dev101-patch-2

Removed brackets in typeof
pull/746/head
dev101 9 years ago
parent
commit
3e9da2d4bc
  1. 2
      Sortable.js

2
Sortable.js

@ -255,7 +255,7 @@
// Bind all private methods // Bind all private methods
for (var fn in this) { 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); this[fn] = this[fn].bind(this);
} }
} }

Loading…
Cancel
Save