Fix eslint issue
This commit is contained in:
parent
c9a8cbf7e7
commit
5c6593b973
1 changed files with 1 additions and 1 deletions
2
lib/utils/prototypes.js
vendored
2
lib/utils/prototypes.js
vendored
|
@ -69,7 +69,7 @@ Object.defineProperty(Array.prototype, 'extend', {
|
||||||
|
|
||||||
Object.defineProperty(Object, 'isObject', {
|
Object.defineProperty(Object, 'isObject', {
|
||||||
value: function (obj) {
|
value: function (obj) {
|
||||||
return (obj != null && typeof obj === 'object' &&
|
return (obj !== null && typeof obj === 'object' &&
|
||||||
Object.prototype.toString.call(obj) === '[object Object]')
|
Object.prototype.toString.call(obj) === '[object Object]')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue