提交 3e9da2d4 编写于 作者: D dev101

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

Removed brackets in typeof
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册