Skip to content

Commit

Permalink
Merge pull request #139 from Kanaye/bug#138
Browse files Browse the repository at this point in the history
Fixed bug in observable._expressionKeys.
  • Loading branch information
astoilkov committed Mar 14, 2016
2 parents 8e602c3 + fae22bb commit c17f262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query/Expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ define([
};

blocks.each(observables, function (observable) {
if (!observable._expressionKeys[elementData.id]) {
observable._expressionKeys[elementData.id] = true;
if (!observable._expressionKeys[elementData.id + (attributeName ||'expression') +'[' + expression + ']']) {
observable._expressionKeys[elementData.id + (attributeName ||'expression') +'[' + expression + ']'] = true;
observable._expressions.push(expressionObj);
}

Expand Down

0 comments on commit c17f262

Please sign in to comment.