silexlabs / SLPlayer-proto1

SLPlayer is an open-source virtual machine used to render graphical user interfaces and digital publications. It takes XML, CSS and haXe script as an input, and runs un javascript / HTML 5, ActionScript Flash and php / neko
http://www.silexlabs.org/groups/labs/slplayer/
5 stars 1 forks source link

style manager first draft #36

Open lexoyo opened 13 years ago

lexoyo commented 13 years ago

public function initDone():Void { var publication:Publication = Publication.getPublicationByStyleManager(this); var block:Block = publication.getBlockByStyleManager(this); var domElement:DOMElement = block.domElement;

should be replaced by a constructor like

public function new(publication:Publication, block:Block)