B2G/gecko/browser/components/tabview/tabitems.js
// The first call of this function caches the DocumentFragment in _fragment.
The first call of this function caches the DocumentFragment in _fragment.
The first call of this function caches the DocumentFragment in _fragment .
function TabItems_fragment() {
    if (this._fragment)
      return this._fragment;
    let div = document.createElement("div");
    div.classList.add("tab");
    div.innerHTML = "<div class='thumb'>" +
            "<img class='cached-thumb' style='display:none'/><canvas moz-opaque/></div>" +
            "<div class='favicon'><img/></div>" +
            "<span class='tab-title'>&nbsp;</span>" +
            "<div class='close'></div>";
    this._fragment = document.createDocumentFragment();
    this._fragment.appendChild(div);
    return this._fragment;
  }
function TabItems_fragment ( ) { if ( this . _fragment ) return this . _fragment ; let div = document . createElement ( "div" ) ; div . classList . add ( "tab" ) ; div . innerHTML = "<div class='thumb'>" + "<img class='cached-thumb' style='display:none'/><canvas moz-opaque/></div>" + "<div class='favicon'><img/></div>" + "<span class='tab-title'>&nbsp;</span>" + "<div class='close'></div>" ; this . _fragment = document . createDocumentFragment ( ) ; this . _fragment . appendChild ( div ) ; return this . _fragment ; }
The first call of this function caches the DocumentFragment in _fragment.
The first call of this function caches the DocumentFragment in _fragment .