Sha256: fa3869f6f0fe725d5e642141269500966bb1362ff2c80d140645e15afcf6736d
Contents?: true
Size: 1.88 KB
Versions: 1
Compression:
Stored size: 1.88 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372843464.537904:@value"{I" class:EFI"BundledAsset; FI"logical_path; FI"Core/loadArrayBuffer.js; TI" pathname; FI"T/Users/bwrona/www/engines/cesium/app/assets/javascripts/Core/loadArrayBuffer.js; TI"content_type; FI"application/javascript; FI" mtime; FI"2013-07-03T11:02:49+02:00; FI"length; FiBI"digest; F"%1224fd2e1af49311f10997b57a75b45fI"source; FI"B/*global define*/ define([ './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; }); ; FI"required_assets_digest; F"%002331426e3b12234568bea272bcd0d7I" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.18.0 | test/dummy/tmp/cache/assets/CA9/B20/sprockets%2F153222e72365f33a3670fe756dded106 |