B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Applies the necessary text content and class name to a value node based
   * on a grip.
   *
   * @param object aValueLabel
   *        The value node to apply the changes to.
   * @param object aGrip
   *        @see DebuggerView.Properties._setGrip
   */
Applies the necessary text content and class name to a value node based
on a grip.

@param object aValueLabel
The value node to apply the changes to.
@param object aGrip
@see DebuggerView.Properties._setGrip
Applies the necessary text content and class name to a value node based on a grip . @param object aValueLabel The value node to apply the changes to . @param object aGrip @see DebuggerView . Properties . _setGrip
function DVP__applyGrip(aValueLabel, aGrip) {
    let prevGrip = aValueLabel.currentGrip;
    if (prevGrip) {
      aValueLabel.classList.remove(this._propertyColor(prevGrip));
    }
    aValueLabel.setAttribute("value", this._propertyString(aGrip));
    aValueLabel.classList.add(this._propertyColor(aGrip));
    aValueLabel.currentGrip = aGrip;
  }
function DVP__applyGrip ( aValueLabel , aGrip ) { let prevGrip = aValueLabel . currentGrip ; if ( prevGrip ) { aValueLabel . classList . remove ( this . _propertyColor ( prevGrip ) ) ; } aValueLabel . setAttribute ( "value" , this . _propertyString ( aGrip ) ) ; aValueLabel . classList . add ( this . _propertyColor ( aGrip ) ) ; aValueLabel . currentGrip = aGrip ; }
Applies the necessary text content and class name to a value node based
 on a grip.
Applies the necessary text content and class name to a value node based on a grip .