From dac782ea9f0e9a5c101d4d9253ff459a7ab7b6f5 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Mon, 14 Apr 2014 09:15:06 -0700 Subject: [PATCH] always to assignment to proto in createBindablePropertyAccessor --- src/observe.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/observe.js b/src/observe.js index 2181eb7..fd1b36b 100644 --- a/src/observe.js +++ b/src/observe.js @@ -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() {