Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/calc/index.js
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ export default function calc(object, target, sources, givenHandler, eventOptions
setOnInit = true,
debounceCalcOnInit = false,
debounceCalc = true,
debounceCalcDelay = 0,
// the next option is used to hide a property for internal use (eg in bindings parser)
// hidden property means no accessors
isTargetPropertyHidden = false
@@ -81,7 +82,7 @@ export default function calc(object, target, sources, givenHandler, eventOptions
let calcHandler;

if (debounceCalcOnInit || debounceCalc) {
debouncedCalcHandler = debounce(syncCalcHandler);
debouncedCalcHandler = debounce(syncCalcHandler, debounceCalcDelay);
}

defineProp(object, target, isTargetPropertyHidden);

0 comments on commit c17679a

Please sign in to comment.