lib/odyssey/story.js
// they're called on state changes
they're called on state changes
they ' re called on state changes
function Action(t) {
  var evt = d3.dispatch('finish');
  var action = t;
  if (t.enter === undefined && !(typeof(t) === 'function' && t.prototype.enter !== undefined)) {
    action = {
      enter: t
    }
  }
  return d3.rebind(action, evt, 'on', 'finish');
}
function Action ( t ) { var evt = d3 . dispatch ( 'finish' ) ; var action = t ; if ( t . enter === undefined && ! ( typeof ( t ) === 'function' && t . prototype . enter !== undefined ) ) { action = { enter : t } } return d3 . rebind ( action , evt , 'on' , 'finish' ) ; }
they're called on state changes
they ' re called on state changes