JacobeanRnD / SCHVIZ

SCXML Visualization
Apache License 2.0
6 stars 1 forks source link

Promise reject bug #64

Closed feyzo closed 9 years ago

feyzo commented 9 years ago

There are 2 issues:

  1. Missing transition target state doesn't trigger promise.reject, instead it fails inside forceLayout.js
  2. All layout.update promises should be like this: layout.update(doc).then(error, result) but on successful attempts result object is returned as first argument.

Above problems might happen on layout.initialized.then(error, result) action too.

See here: http://recordit.co/S4rtBDIvHB