Sha256: d0fc469e30ee9bc1254088cb443280b9cfd9e0a0ac9779a23cfd8a7ecf96ab9f

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1380709792.49582:@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/C76/620/sprockets%2F632c9212c090a66b2278ff03d1037a98
cesium-0.21 test/dummy/tmp/cache/assets/C76/620/sprockets%2F632c9212c090a66b2278ff03d1037a98