Re: [polymer-dev] Re: translate javascript to typescript

2016-03-19 Thread 'Justin Fagnani' via Polymer
Just wanted to point out that this isn't TypeScript specific, arrow functions are part of ES2015. On Thu, Mar 17, 2016 at 2:52 AM, Mallegriss wrote: > sorted out. > > > > .attr("d", d3.svg.symbol() > > .size(d => d.size)) > > > > On Wednesday, March 16,

[polymer-dev] Re: translate javascript to typescript

2016-03-18 Thread Mallegriss
sorted out. .attr("d", d3.svg.symbol() .size(d => d.size)) On Wednesday, March 16, 2016 at 10:42:51 PM UTC+13, Mallegriss wrote: > > Hi guys, > > I'd like to know how to translate below piece code into typescript: > > this.nodes = svg.selectAll(".node") >