vendor/jasmine/jasmine-jquery.js
function(eventName, eventHandler) {
      var stack = this.actual.data("events")[eventName];
      var i;
      for (i = 0; i < stack.length; i++) {
        if (stack[i].handler == eventHandler) {
          return true;
        }
      }
      return false;
    }
function(eventName, eventHandler) {
      var stack = this.actual.data("events")[eventName];
      var i;
      for (i = 0; i < stack.length; i++) {
        if (stack[i].handler == eventHandler) {
          return true;
        }
      }
      return false;
    }
function ( eventName , eventHandler ) { var stack = this . actual . data ( "events" ) [ eventName ] ; var i ; for ( i = 0 ; i < stack . length ; i ++ ) { if ( stack [ i ] . handler == eventHandler ) { return true ; } } return false ; }
tests the existence of a specific event binding + handler
tests the existence of a specific event binding + handler