Skip to content

Commit

Permalink
rm TODO which fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
errorrik committed Feb 5, 2019
1 parent 90ffb4b commit 38b8ec4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/view/compile-js-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,6 @@ function compileComponentSource(sourceBuffer, ComponentClass, contextId) {
sourceBuffer.addRaw('}');

// calc computed
// TODO: computed dep computed, maybe has bug
sourceBuffer.addRaw('for (var $i = 0; $i < componentCtx.computedNames.length; $i++) {');
sourceBuffer.addRaw(' var $computedName = componentCtx.computedNames[$i];');
sourceBuffer.addRaw(' data[$computedName] = componentCtx.computed[$computedName]();');
Expand Down

0 comments on commit 38b8ec4

Please sign in to comment.