mirror of
https://github.com/samsonjs/gitter.git
synced 2026-04-27 15:07:41 +00:00
fix style
This commit is contained in:
parent
df2b8d7c33
commit
1306761490
1 changed files with 4 additions and 2 deletions
|
|
@ -41,13 +41,15 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else if ([].__proto__) {
|
}
|
||||||
|
else if ([].__proto__) {
|
||||||
inherits = function(ctor, superCtor) {
|
inherits = function(ctor, superCtor) {
|
||||||
ctor.super_ = superCtor
|
ctor.super_ = superCtor
|
||||||
ctor.prototype.__proto__ = superCtor.prototype
|
ctor.prototype.__proto__ = superCtor.prototype
|
||||||
ctor.prototype.constructor = ctor
|
ctor.prototype.constructor = ctor
|
||||||
}
|
}
|
||||||
} else { // ie8
|
}
|
||||||
|
else { // ie8
|
||||||
var __hasProp = Object.prototype.hasOwnProperty
|
var __hasProp = Object.prototype.hasOwnProperty
|
||||||
inherits = function(child, parent) {
|
inherits = function(child, parent) {
|
||||||
for (var key in parent) {
|
for (var key in parent) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue