Sha256: cc8d79fbc87f4bff20bf3900f42df1dd61bd971cc156194e688be75db2412148

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1380709792.4949691:@value"�{I"
class:ETI"BundledAsset;FI"logical_path;TI"Core/loadBlob.js;TI"
pathname;TI"N/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/loadBlob.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti�I"digest;TI"%7497092310514a536b6f3baa52f10558;FI"source;TI"�/*global define*/

define(['Core/loadWithXhr'], function(
        loadWithXhr) {
    "use strict";

    /**
     * Asynchronously loads the given URL as a blob.  Returns a promise that will resolve to
     * a Blob 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 loadBlob
     *
     * @param {String|Promise} url The URL of the 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
     * loadBlob('some/url').then(function(blob) {
     *     // use the data
     * }, function() {
     *     // an error occurred
     * });
     */
    var loadBlob = function(url, headers) {
        return loadWithXhr(url, 'blob', headers);
    };

    return loadBlob;
});
;TI"required_assets_digest;TI"%2c248e0e75225b01fc003790e7eed312;FI"
_version;TI"%6776f581a4329e299531e1d52aa59832;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.21.1 test/dummy/tmp/cache/assets/CF4/7C0/sprockets%2Ff17cd218fc062a2279f957409f97d86b
cesium-0.21 test/dummy/tmp/cache/assets/CF4/7C0/sprockets%2Ff17cd218fc062a2279f957409f97d86b