g-component: fix typo which affected settings an attribute to a default value in prototype.

This commit is contained in:
Steve Orvell
2012-10-29 15:07:41 -07:00
parent d34e93bfde
commit 1b054f9b3b

View File

@@ -155,7 +155,7 @@ license that can be found in the LICENSE file.
var bindProperty = function(inName, inValue) {
if (inName in this) {
// set default value in a property already bound via attrs
setPropertySilently.call(this, inName, value);
setPropertySilently.call(this, inName, inValue);
} else {
//console.log('binding', inName, this)
var value = inValue;