@@ -1,5 +1,5 @@
import { directive, into, mapAttributes, prefix, startingWith } from '../directives'
-import { dontAutoEvaluateFunctions, evaluateLater } from '../evaluator'
+import { evaluateLater } from '../evaluator'
import { mutateDom } from '../mutation'
import bind from '../utils/bind'
import { applyBindingsObject, injectBindingProviders } from '../binds'
@@ -141,11 +141,6 @@ function loop(el, iteratorNames, evaluateItems, evaluateKey) {
lookup[key]._x_effects.forEach(dequeueJob)
}
- // An internal hook to unregister an item synchronously...
- if (!! lookup[key]._x_forCleanup) {
- lookup[key]._x_forCleanup()
- }
-
lookup[key].remove()
lookup[key] = null
@@ -45,7 +45,6 @@ export function normalEvaluator(el, expression) {
? generateEvaluatorFromFunction(dataStack, expression)
: generateEvaluatorFromString(dataStack, expression, el)
- return evaluator
return tryCatch.bind(null, el, expression, evaluator)
@@ -23,9 +23,9 @@ export default function bind(el, name, value, modifiers = []) {
case 'class':
bindClasses(el, value)
break;
+
// 'selected' and 'checked' are special attributes that aren't necessarily
- // synced with their corresponding properties when updated, so both the
+ // synced with their corresponding properties when updated, so both the
// attribute and property need to be updated when bound.
case 'selected':
case 'checked':