--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
function d3_functor(v) {return typeof v === "function" ? v : function() { return v; };}https://github.com/d3/d3/blob/v3.5.17/src/core/functor.jsOn Mon, Aug 22, 2016 at 10:15 PM, dhanda sunny <dhan...@gmail.com> wrote:Hi Mike,Can you please share code for d3.functor for d3v4.or is there any other alternative ?
On Friday, July 22, 2016 at 12:50:20 AM UTC+10, Mike Bostock wrote:It was removed. If you need such functionality you can copy the implementation from v3:
https://github.com/d3/d3/blob/v3.5.17/src/core/rebind.js
Mike--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "d3-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to d3-js+un...@googlegroups.com.