Comparing version 0.0.16 to 0.0.17
{ | ||
"name": "webdetta", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"author": "Fedot Kriutchenko <fodyadev@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -12,3 +12,3 @@ // MIT License | ||
function builder(f) { | ||
f[FRAMEORC_BUILDER] = true; | ||
f[FRAMEORC_BUILDER] = f; | ||
return f; | ||
@@ -24,3 +24,5 @@ } | ||
get: (_object, name, _proxy) => | ||
Builder(effect, tasks, [...names, name]), | ||
typeof name == 'symbol' | ||
? _object[name] | ||
: Builder(effect, tasks, [...names, name]), | ||
}); | ||
@@ -30,3 +32,3 @@ } | ||
export function launch(construct, ...args) { | ||
return construct(FRAMEORC_BUILDER, ...args); | ||
return construct[FRAMEORC_BUILDER](FRAMEORC_BUILDER, ...args); | ||
} |
24522
705