Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Nothing to do if false one-time if
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Jan 9, 2014
1 parent ae687f2 commit bec956e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TemplateBinding.js
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@

// oneTime if & predicate is false. nothing else to do.
if (deps.ifOneTime && !deps.ifValue)
this.updateIteratedValue();
return this.updateIteratedValue();

if (!deps.ifOneTime)
deps.ifValue.open(this.updateIteratedValue, this);
Expand Down

0 comments on commit bec956e

Please sign in to comment.