bundles/org.eclipse.orion.client.ui/web/gcli/gcli/ui/fields/basic.js
function StringField(type, options) {
  Field.call(this, type, options);
  this.arg = new Argument();

  this.element = util.createElement(this.document, 'input');
  this.element.type = 'text';
  this.element.classList.add('gcli-field');

  this.onInputChange = this.onInputChange.bind(this);
  this.element.addEventListener('keyup', this.onInputChange, false);

  this.onFieldChange = util.createEvent('StringField.onFieldChange');
}
function StringField(type, options) {
  Field.call(this, type, options);
  this.arg = new Argument();

  this.element = util.createElement(this.document, 'input');
  this.element.type = 'text';
  this.element.classList.add('gcli-field');

  this.onInputChange = this.onInputChange.bind(this);
  this.element.addEventListener('keyup', this.onInputChange, false);

  this.onFieldChange = util.createEvent('StringField.onFieldChange');
}
function StringField ( type , options ) { Field . call ( this , type , options ) ; this . arg = new Argument ( ) ; this . element = util . createElement ( this . document , 'input' ) ; this . element . type = 'text' ; this . element . classList . add ( 'gcli-field' ) ; this . onInputChange = this . onInputChange . bind ( this ) ; this . element . addEventListener ( 'keyup' , this . onInputChange , false ) ; this . onFieldChange = util . createEvent ( 'StringField.onFieldChange' ) ; }
A field that allows editing of strings
A field that allows editing of strings