editor/js/reaction.js
// Pack a value/units/precision triple into the elements specified.
Pack a value/units/precision triple into the elements specified.
Pack a value / units / precision triple into the elements specified .
function writeMetric(prefix, proto, node) {
  $(prefix + '_value', node).text(proto.getValue());
  if (proto.getUnits) {
    setSelector($(prefix + '_units', node), proto.getUnits());
  }
  $(prefix + '_precision', node).text(proto.getPrecision());
}
function writeMetric ( prefix , proto , node ) { $ ( prefix + '_value' , node ) . text ( proto . getValue ( ) ) ; if ( proto . getUnits ) { setSelector ( $ ( prefix + '_units' , node ) , proto . getUnits ( ) ) ; } $ ( prefix + '_precision' , node ) . text ( proto . getPrecision ( ) ) ; }
Pack a value/units/precision triple into the elements specified.
Pack a value / units / precision triple into the elements specified .
// proto.ord.Percentage doesn't have units.