mirror of
https://github.com/flynx/object.js.git
synced 2025-10-30 11:00:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
915d67bc07
commit
8e63fe3577
@ -1187,7 +1187,7 @@ Constructor('Mixin', {
|
|||||||
// mixin to target...
|
// mixin to target...
|
||||||
__call__: function(_, target, mode=this.mode){
|
__call__: function(_, target, mode=this.mode){
|
||||||
typeof(target) == typeof('str')
|
typeof(target) == typeof('str')
|
||||||
&& ([mode, target] = arguments)
|
&& ([_, mode, target] = arguments)
|
||||||
return mode == 'flat' ?
|
return mode == 'flat' ?
|
||||||
mixinFlat(target, this.data)
|
mixinFlat(target, this.data)
|
||||||
: mixin(target, this.data) },
|
: mixin(target, this.data) },
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-object",
|
"name": "ig-object",
|
||||||
"version": "5.4.1",
|
"version": "5.4.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "object.js",
|
"main": "object.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user