mirror of
https://github.com/flynx/object.js.git
synced 2025-10-29 18:40:08 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
59f78fb7d4
commit
135e173383
@ -1085,6 +1085,9 @@ function Constructor(name, a, b, c){
|
|||||||
|| Object.defineProperty(proto, n,
|
|| Object.defineProperty(proto, n,
|
||||||
Object.assign(
|
Object.assign(
|
||||||
Object.getOwnPropertyDescriptor(Function.prototype, n),
|
Object.getOwnPropertyDescriptor(Function.prototype, n),
|
||||||
|
// NOTE: we can't use Function[n] directly because
|
||||||
|
// they in general test this for relation to
|
||||||
|
// function which will fail here...
|
||||||
{ value: function(){
|
{ value: function(){
|
||||||
return this.__call__[n](this, ...arguments) }, })) })
|
return this.__call__[n](this, ...arguments) }, })) })
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"c8": "^7.3.0",
|
"c8": "^7.3.0",
|
||||||
"colors": "^1.4.0",
|
"colors": "^1.4.0",
|
||||||
"ig-argv": "^2.11.2"
|
"ig-argv": "^2.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user