code: function(callback) {
          var index = this._delays.length;
          while (--index >= 0) {
              var item = this._delays[index];
              if (item && item.callback === callback) {
                  this._delays[index] = false;
              }
          }
          return this;
      }
docs: @
  #.cancelDelay
  @comp Delay
  @kind Method
  
  @sign public this.cancelDelay(Function callback)
  @param callback - Method reference passed to .delay
  
  The cancelDelay method will cancel a delay set previously.
  
  @example
  ~~~
  var doSomething = function(){
  Crafty.log("doing something");
  };
  
  // execute doSomething each 100 miliseconds indefinetely
  var ent = Crafty.e("Delay").delay(doSomething, 100, -1);
  
  // and some time later, cancel further execution of doSomething
  ent.cancelDelay(doSomething);
  ~~~