solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js
function() {
      if (!this.isRunning()) { return false; }
      var app = this;
      this.trigger('unload');
      // clear interval
      this._location_proxy.unbind();
      // unbind form submits
      this.$element().unbind('submit').removeClass(app.eventNamespace());
      // unbind all events
      $.each(this.listeners.toHash() , function(name, listeners) {
        $.each(listeners, function(i, listener_callback) {
          app._unlisten(name, listener_callback);
        });
      });
      this._running = false;
      return this;
    }
function() {
      if (!this.isRunning()) { return false; }
      var app = this;
      this.trigger('unload');
      // clear interval
      this._location_proxy.unbind();
      // unbind form submits
      this.$element().unbind('submit').removeClass(app.eventNamespace());
      // unbind all events
      $.each(this.listeners.toHash() , function(name, listeners) {
        $.each(listeners, function(i, listener_callback) {
          app._unlisten(name, listener_callback);
        });
      });
      this._running = false;
      return this;
    }
function ( ) { if ( ! this . isRunning ( ) ) { return false ; } var app = this ; this . trigger ( 'unload' ) ; // clear interval this . _location_proxy . unbind ( ) ; // unbind form submits this . $element ( ) . unbind ( 'submit' ) . removeClass ( app . eventNamespace ( ) ) ; // unbind all events $ . each ( this . listeners . toHash ( ) , function ( name , listeners ) { $ . each ( listeners , function ( i , listener_callback ) { app . _unlisten ( name , listener_callback ) ; } ) ; } ) ; this . _running = false ; return this ; }
The opposite of `run()`, un-binds all event listeners and intervals `run()` Automaticaly binds a `onunload` event to run this when the document is closed.
The opposite of run () un - binds all event listeners and intervals run () Automaticaly binds a onunload event to run this when the document is closed .