d3/d3-queue

queue.js has errors when processed with ES2015

MichelFloyd opened this issue · 2 comments

See babel

repl: Unexpected token (45:30)

function notify() {
  if (error != null) await(error);
  else if (all) await(error, tasks);
  else await.apply(null, [error].concat(tasks));
}

You’re using an ancient version (1.0.7, January 2014). The code was rewritten in 1.1.0 (January 2016) fixing this problem, and the latest release is 2.0.3 (March 2016).

My apologies! I was chasing this down from a Meteor package which had incorporated queue-async. Quite a rabbit hole.