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

Commit

Permalink
always to assignment to proto in createBindablePropertyAccessor
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Apr 14, 2014
1 parent 762f600 commit dac782e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,7 @@
var privateName = name + '_';
var privateObservable = name + 'Observable_';

if (proto.hasOwnProperty(name))
proto[privateName] = proto[name];
proto[privateName] = proto[name];

Object.defineProperty(proto, name, {
get: function() {
Expand Down

0 comments on commit dac782e

Please sign in to comment.