Merge pull request #23 from seth-visere/master

Fixed backbone bug
This commit is contained in:
Jono Brandel 2011-06-21 14:20:39 -07:00
commit 4443a5aa21
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@
</li> </li>
<li> <li>
<a href='https://github.com/dataarts/dat.gui/raw/build/DAT.GUI.js'><strong>Download the uncompressed source</strong></a> <a href='https://github.com/dataarts/dat.gui/raw/build/DAT.GUI.js'><strong>Download the uncompressed source</strong></a>
<small id='buildsize'>[33.8kb] <small id='buildsize'>[33.9kb]
</small> </small>
</li> </li>

View File

@ -59,7 +59,7 @@ DAT.GUI.Controller.prototype.setValue = function(n) {
DAT.GUI.Controller.prototype.getValue = function() { DAT.GUI.Controller.prototype.getValue = function() {
var val = this.object[this.propertyName]; var val = this.object[this.propertyName];
if(val == undefined) this.object.get(this.propertyName); if(val == undefined) val = this.object.get(this.propertyName);
return val; return val;
}; };