B2G/gecko/browser/base/content/newtab/sites.js
/**
   * Pins the site on its current or a given index.
   * @param aIndex The pinned index (optional).
   */
Pins the site on its current or a given index.
@param aIndex The pinned index (optional).
Pins the site on its current or a given index . @param aIndex The pinned index ( optional ) .
function Site_pin(aIndex) {
    if (typeof aIndex == "undefined")
      aIndex = this.cell.index;
    this._updateAttributes(true);
    gPinnedLinks.pin(this._link, aIndex);
  }
function Site_pin ( aIndex ) { if ( typeof aIndex == "undefined" ) aIndex = this . cell . index ; this . _updateAttributes ( true ) ; gPinnedLinks . pin ( this . _link , aIndex ) ; }
Pins the site on its current or a given index.
Pins the site on its current or a given index .