editor/js/reaction.js
// Convert a Message_Field name from a data-proto attribute into a proto class.
Convert a Message_Field name from a data-proto attribute into a proto class.
Convert a Message_Field name from a data - proto attribute into a proto class .
function nameToProto(protoName) {
  let clazz = proto.ord;
  protoName.split('_').forEach(function (name) {
    clazz = clazz[name];
    if (!clazz) {
      return null;
    }
  });
  return clazz;
}
function nameToProto ( protoName ) { let clazz = proto . ord ; protoName . split ( '_' ) . forEach ( function ( name ) { clazz = clazz [ name ] ; if ( ! clazz ) { return null ; } } ) ; return clazz ; }
Convert a Message_Field name from a data-proto attribute into a proto class.
Convert a Message_Field name from a data - proto attribute into a proto class .