Skip to content

Commit

Permalink
fix slice to splice error in build and update release 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
doug committed Feb 4, 2015
1 parent bab4a31 commit a65c4f9
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 270 deletions.
12 changes: 6 additions & 6 deletions build/dat.gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1084,10 +1084,10 @@ dat.controllers.FunctionController = (function (Controller, dom, common) {
if (this.__onChange) {
this.__onChange.call(this);
}
this.getValue().call(this.object);
if (this.__onFinishChange) {
this.__onFinishChange.call(this, this.getValue());
}
this.getValue().call(this.object);
}
}

Expand Down Expand Up @@ -2039,7 +2039,7 @@ dat.GUI = dat.gui.GUI = (function (css, saveDialogueContents, styleSheet, contro

// TODO listening?
this.__ul.removeChild(controller.__li);
this.__controllers.slice(this.__controllers.indexOf(controller), 1);
this.__controllers.splice(this.__controllers.indexOf(controller), 1);
var _this = this;
common.defer(function() {
_this.onResize();
Expand Down Expand Up @@ -3579,7 +3579,8 @@ dat.dom.CenteredDiv = (function (dom, common) {
display: 'none',
zIndex: '1000',
opacity: 0,
WebkitTransition: 'opacity 0.2s linear'
WebkitTransition: 'opacity 0.2s linear',
transition: 'opacity 0.2s linear'
});

dom.makeFullscreen(this.backgroundElement);
Expand All @@ -3591,7 +3592,8 @@ dat.dom.CenteredDiv = (function (dom, common) {
display: 'none',
zIndex: '1001',
opacity: 0,
WebkitTransition: '-webkit-transform 0.2s ease-out, opacity 0.2s linear'
WebkitTransition: '-webkit-transform 0.2s ease-out, opacity 0.2s linear',
transition: 'transform 0.2s ease-out, opacity 0.2s linear'
});


Expand All @@ -3609,8 +3611,6 @@ dat.dom.CenteredDiv = (function (dom, common) {
CenteredDiv.prototype.show = function() {

var _this = this;



this.backgroundElement.style.display = 'block';

Expand Down
Loading

0 comments on commit a65c4f9

Please sign in to comment.