Created
June 11, 2010 08:12
-
-
Save joegaudet/434230 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (active) { | |
if (this._currentDirection !== null) { | |
active.set("buildDirection", this._currentDirection); | |
this.buildOutChild(active); | |
} else { | |
this.removeChild(active); | |
} | |
} | |
if (replacement) { | |
if (this._currentDirection !== null) { | |
replacement.set("buildDirection", this._currentDirection); | |
this.buildInChild(replacement); | |
} else { | |
this.removeChild(replacement); /// this should be append child not remove child!!!!! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment