Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
strager committed Aug 1, 2012
1 parent 7a2db2b commit 452bd62
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Main.as
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ package {
}

private function setController(fn:Function):void {
var s:Sprite = new Sprite();
this.removeChildren();
this.addChild(s);

this._currentController = fn(s);
this._currentController = fn(this);
}
}
}

0 comments on commit 452bd62

Please sign in to comment.