Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache FalconJX 0.6.0
-
None
Description
The following code:
var rects:XMLList = svg..rect; rects[1].@width = "100px";
compiles into:
var /** @type {XMLList} */ rects = svg.descendants('rect'); rects[1].attribute('width') = "100px";
It should be:
var /** @type {XMLList} */ rects = svg.descendants('rect'); rects[1].setAttribute('width',"100px");