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

Commit

Permalink
cr changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Feb 5, 2014
1 parent e8ca9c0 commit 6e25f86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/polymer-expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@
// I.e. Pushed values in two-bindings need to be assigned to the actual model
// object.
function findScope(model, prop) {
while (model.__parentScope && !model.hasOwnProperty(prop)) {
while (model.__parentScope &&
!Object.prototype.hasOwnProperty.call(model, prop)) {
model = model.__parentScope;
}

Expand Down

0 comments on commit 6e25f86

Please sign in to comment.