Sha256: 2b5430018f00da95e540d8cb683abbbfa4ba3624def92cf6cfb78fac0e790ec2

Contents?: true

Size: 657 Bytes

Versions: 4

Compression:

Stored size: 657 Bytes

Contents

require( '/javascripts/vendor/json2.js'        );
require( '/javascripts/vendor/sinon-1.7.3.js'  );
require( '/javascripts/firehose/base.js'       );
require( '/javascripts/firehose/transport.js'  );
require( '/javascripts/firehose/web_socket.js' );
require( '/javascripts/firehose/long_poll.js'  );
require( '/javascripts/firehose/consumer.js'   );

//= Mock out jQuery / Zepto calls
window.$ = {
  ajax : function(){
    return {
      abort : function (){}
    }
  },

  ajaxSettings : {
    xhr : function(){
      return {
        withCredentials : true
      }
    }
  },

  param : function(){
    return { fake: 'params' }
  },

  supported : { }
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
firehose-1.2.20 spec/javascripts/helpers/spec_helper.js
firehose-1.2.13 spec/javascripts/helpers/spec_helper.js
firehose-1.2.12 spec/javascripts/helpers/spec_helper.js
firehose-1.2.11 spec/javascripts/helpers/spec_helper.js