B2G/gecko/browser/devtools/styleeditor/StyleEditor.jsm
/**
   * Set a flag.
   *
   * @param string aName
   *        Name of the flag to set. One of StyleEditorFlags members.
   * @return boolean
   *         True if the flag has been set, false if flag is already set.
   * @see StyleEditorFlags
   */
Set a flag.
@param string aName
Name of the flag to set. One of StyleEditorFlags members.
@return boolean
True if the flag has been set, false if flag is already set.
Set a flag . @param string aName Name of the flag to set . One of StyleEditorFlags members . @return boolean True if the flag has been set false if flag is already set .
function SE_setFlag(aName)
  {
    let prop = aName.toUpperCase();
    assert(StyleEditorFlags[prop], "Unknown flag: " + prop);
    if (this.hasFlag(aName)) {
      return false;
    }
    this._flags.push(aName);
    this._triggerAction("FlagChange", [aName]);
    return true;
  }
function SE_setFlag ( aName ) { let prop = aName . toUpperCase ( ) ; assert ( StyleEditorFlags [ prop ] , "Unknown flag: " + prop ) ; if ( this . hasFlag ( aName ) ) { return false ; } this . _flags . push ( aName ) ; this . _triggerAction ( "FlagChange" , [ aName ] ) ; return true ; }
Set a flag.
Set a flag .