src/build.js
/**
 * Return an object containing beziers for the reactions object.
 * @param {Object} reactions - A reactions object, e.g. *escher.Map.reactions*.
 */
Return an object containing beziers for the reactions object.
@param {Object} reactions - A reactions object, e.g.
Return an object containing beziers for the reactions object . @param { Object } reactions - A reactions object e . g .
function new_beziers_for_reactions (reactions) {
  var beziers = {}
  for (var reaction_id in reactions) {
    var reaction = reactions[reaction_id]
    var these = new_beziers_for_segments(reaction.segments, reaction_id)
    utils.extend(beziers, these)
  }
  return beziers
}
function new_beziers_for_reactions ( reactions ) { var beziers = { } for ( var reaction_id in reactions ) { var reaction = reactions [ reaction_id ] var these = new_beziers_for_segments ( reaction . segments , reaction_id ) utils . extend ( beziers , these ) } return beziers }
Return an object containing beziers for the reactions object.
Return an object containing beziers for the reactions object .