Comparing version 0.1.63 to 0.1.64
{ | ||
"name": "webdetta", | ||
"version": "0.1.63", | ||
"version": "0.1.64", | ||
"author": "Fedot Kriutchenko <fodyadev@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "", |
@@ -40,12 +40,3 @@ import { Context } from '../common/context.js'; | ||
} | ||
accessor.default = function (value, shouldReset) { | ||
const curr = get(); | ||
if (arguments.length < 2) shouldReset = !!curr; | ||
else if (typeof shouldReset == 'function') shouldReset = shouldReset(curr); | ||
if (shouldReset) set(value); | ||
return accessor; | ||
} | ||
accessor.handlers = handlers; | ||
@@ -52,0 +43,0 @@ accessor[Signal.symbol] = true |
138363
4024