I removed the code to automatically set an id in ibm-js/delite@ecd19be.  It
seemed like we didn't need it, and also seemed a bit non-HTML-ish to
automatically create an id.   I guess we could add it back if necessary,
but why do you need that?


On Wed, Feb 12, 2014 at 7:31 AM, Sebastien Pereira <notifications@github.com
> wrote:

> In ProgressIndicator.js:
>
> > +			lineNode.setAttribute("x1", "37%");
> > +			lineNode.setAttribute("y1", "27%");
> > +			lineNode.setAttribute("x2", "29%");
> > +			lineNode.setAttribute("y2", "13%");
> > +			gNode.appendChild(lineNode);
> > +			svgNode.appendChild(gNode);
> > +			var useNode = document.createElementNS(svgNS, "use");
> > +			useNode.setAttribute("x", "28.5%");
> > +			useNode.setAttribute("y", "28.5%");
> > +			useNode.setAttribute("width", "43%");
> > +			useNode.setAttribute("height", "43%");
> > +			svgNode.appendChild(useNode);
> > +			this.appendChild(svgNode);
> > +		},
> > +
> > +		startup: function () {
>
> Done in seb-pereira@9645948<https://github.com/seb-pereira/deliteful/commit/96459484e1b5bad8703a29156e3778c038db22e2>
> Also, I noticed when programmatically created and started that there is no
> id allocated and assigned to the root node, unless I explicitly specify an
> Id when I create the widget. Is this an expected behavior? If yes, how
> could I get a unique/generated Id?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/ibm-js/deliteful/pull/28/files#r9646897>
> .
>