{"push_id":644624614,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"e174d2ca95cdb0e42e78ad00f0580ec7ea4d31db","before":"d55eba457b247309a460649a6459de7342fa7ad8","commits":[{"sha":"61d575845b0a252f652642c266689f97211a8bc8","author":{"email":"fa07afa65caeaf636e71671fd59ce813504ff73f@sandinh.net","name":"giabao"},"message":"permit attributes in root xml node for setting properties of `this` building class instance","distinct":true,"url":"https://api.github.com/repos/giabao/tinyui/commits/61d575845b0a252f652642c266689f97211a8bc8"},{"sha":"32f5f49fcada7be6326af2509a7f37b2a55c3386","author":{"email":"fa07afa65caeaf636e71671fd59ce813504ff73f@sandinh.net","name":"giabao"},"message":"add features:\n1. initUI now can have arguments by adding `function` attribute to root xml node.\nEx `<UI function=\"w: Int, h: Int\" ..>` will gen code `function initUI(w: Int, h: Int) {...}`\nOf course the params can be used in xml.\n2. Nodes can have local variables by adding var.varName=\"expression\".","distinct":true,"url":"https://api.github.com/repos/giabao/tinyui/commits/32f5f49fcada7be6326af2509a7f37b2a55c3386"},{"sha":"e174d2ca95cdb0e42e78ad00f0580ec7ea4d31db","author":{"email":"fa07afa65caeaf636e71671fd59ce813504ff73f@sandinh.net","name":"giabao"},"message":"add features:\n1. `var` xml node:\n```xml\n<Sprite var.tmp=\"1+2\">\n  <var x=\"tmp + 3\" y=\"4\" />\n</Sprite>\n```\nThis permit we control the order of generated code statements.\nNote: Xml.attributes() will not preserved the declaration order.\n2. `function` xml node:\n```xml\n<Label var=\"someLabel\">\n  <function function=\"setStyle\" arg1=\"'textFormat'\" arg2=\"new TextFormat('Tahoma', 16, 0xFFFFFF, true)\" />\n</Label>\n```\ngenerated code:\n```haxe\nthis.someLabel.setStyle('textFormat', new TextFormat('Tahoma', 16, 0xFFFFFF, true));\n```","distinct":true,"url":"https://api.github.com/repos/giabao/tinyui/commits/e174d2ca95cdb0e42e78ad00f0580ec7ea4d31db"}]}