Sha256: 9f5d72497901f20473bf3a00783be86099c305caf97f820b016f7ab812e752c7
Contents?: true
Size: 1.97 KB
Versions: 3
Compression:
Stored size: 1.97 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381798603.096095:@value"}{I" class:ETI"BundledAsset;FI"logical_path;TI"Core/RequestErrorEvent.js;TI" pathname;TI"W/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/RequestErrorEvent.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-15T02:54:58+02:00;TI"length;Ti�I"digest;TI"%8c8a3db4e71350fca5773c0ddc428f75;FI"source;TI"�/*global define*/ define(['Core/defined'], function(defined) { "use strict"; /** * An event that is raised when a request encounters an error. * * @constructor * @alias RequestErrorEvent * * @param {Number} [statusCode] The HTTP error status code, such as 404. * @param {Object} [response] The response included along with the error. */ var RequestErrorEvent = function RequestErrorEvent(statusCode, response) { /** * The HTTP error status code, such as 404. If the error does not have a particular * HTTP code, this property will be undefined. * * @type {Number} */ this.statusCode = statusCode; /** * The response included along with the error. If the error does not include a response, * this property will be undefined. * * @type {Object} */ this.response = response; }; /** * Creates a string representing this RequestErrorEvent. * @memberof RequestErrorEvent * * @returns {String} A string representing the provided RequestErrorEvent. */ RequestErrorEvent.prototype.toString = function() { var str = 'Request has failed.'; if (defined(this.statusCode)) { str += ' Status Code: ' + this.statusCode; } return str; }; return RequestErrorEvent; }); ;TI"required_assets_digest;TI"%6b4bbec03e97c2afca08103649120a5f;FI" _version;TI"%6776f581a4329e299531e1d52aa59832;F
Version data entries
3 entries across 3 versions & 1 rubygems