Skip to content

Commit

Permalink
Merge pull request #286 from jmesserly/rm_unused_arg
Browse files Browse the repository at this point in the history
remove extra argument to unbindProperty that was ignored
  • Loading branch information
Steve Orvell committed Sep 25, 2013
2 parents 5388406 + 7863c4f commit 93765e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/instance/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
_observe: function(name, cb) {
log.observe && console.log(LOG_OBSERVE, this.localName, name);
registerObserver(this, name,
registerObserver(this, name,
new PathObserver(this, name, cb));
},
observeAttributeProperty: function(name) {
Expand All @@ -76,8 +76,8 @@
// apply Polymer two-way reference binding
return bindProperties(this, property, model, path);
},
unbindProperty: function(type, name) {
return unregisterObserver(this, type, name);
unbindProperty: function(name) {
return unregisterObserver(this, name);
},
unbindAllProperties: function() {
unregisterObservers(this);
Expand Down

0 comments on commit 93765e6

Please sign in to comment.