Sha256: 64c77c48080314d8087678b92143c16e81008998063dc5c35c90856d3e3c664e
Contents?: true
Size: 1.89 KB
Versions: 2
Compression:
Stored size: 1.89 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1380709792.481895:@value"#{I" class:ETI"BundledAsset;FI"logical_path;TI"Core/loadArrayBuffer.js;TI" pathname;TI"U/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/loadArrayBuffer.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti7I"digest;TI"%7b6d68702810323d1eee03d8ce535921;FI"source;TI"7/*global define*/ define(['Core/loadWithXhr'], function( loadWithXhr) { "use strict"; /** * Asynchronously loads the given URL as raw binary data. Returns a promise that will resolve to * an ArrayBuffer once loaded, or reject if the URL failed to load. The data is loaded * using XMLHttpRequest, which means that in order to make requests to another origin, * the server must have Cross-Origin Resource Sharing (CORS) headers enabled. * * @exports loadArrayBuffer * * @param {String|Promise} url The URL of the binary data, or a promise for the URL. * @param {Object} [headers] HTTP headers to send with the requests. * * @returns {Promise} a promise that will resolve to the requested data when loaded. * * @see <a href='http://www.w3.org/TR/cors/'>Cross-Origin Resource Sharing</a> * @see <a href='http://wiki.commonjs.org/wiki/Promises/A'>CommonJS Promises/A</a> * * @example * // load a single URL asynchronously * loadArrayBuffer('some/url').then(function(arrayBuffer) { * // use the data * }, function() { * // an error occurred * }); */ var loadArrayBuffer = function(url, headers) { return loadWithXhr(url, 'arraybuffer', headers); }; return loadArrayBuffer; }); ;TI"required_assets_digest;TI"%1d4aebf2e33ef3a56b76d095c161880c;FI" _version;TI"%6776f581a4329e299531e1d52aa59832;F
Version data entries
2 entries across 2 versions & 1 rubygems