B2G/gecko/browser/components/tabview/iq.js
// automatically unbinds after the event fires once.
automatically unbinds after the event fires once.
automatically unbinds after the event fires once .
function iQClass_one(type, func) {
    Utils.assert(typeof func == "function", 'does not support eventData argument');
    let handler = function(e) {
      iQ(this).unbind(type, handler);
      return func.apply(this, [e]);
    };
    return this.bind(type, handler);
  }
function iQClass_one ( type , func ) { Utils . assert ( typeof func == "function" , 'does not support eventData argument' ) ; let handler = function ( e ) { iQ ( this ) . unbind ( type , handler ) ; return func . apply ( this , [ e ] ) ; } ; return this . bind ( type , handler ) ; }
automatically unbinds after the event fires once.
automatically unbinds after the event fires once .