Sha256: 9f7e5622849333c0a3347f8cbc83076340171bc25f12e959194de706b8b97a81

Contents?: true

Size: 1.87 KB

Versions: 2

Compression:

Stored size: 1.87 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372212333.650055:@value"{I"
class:EFI"BundledAsset;FI"logical_path;FI"Core/loadArrayBuffer.js;TI"
pathname;FI"U/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/loadArrayBuffer.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-06-26T04:04:58+02:00;FI"length;Fi7I"digest;F"%7b6d68702810323d1eee03d8ce535921I"source;FI"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;
});
;FI"required_assets_digest;F"%1d4aebf2e33ef3a56b76d095c161880cI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.23.0 test/dummy/tmp/cache/assets/CF6/B00/sprockets%2F97db464ddd7439e97bb4708f65170d37
cesium-0.22.0 test/dummy/tmp/cache/assets/CF6/B00/sprockets%2F97db464ddd7439e97bb4708f65170d37