Sha256: 5976c7bf8abc3d1439095e95f1838a497e7d60824afa601a1fe8265ad8e63061

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1369608511.225566:@value"�{I"
class:EFI"BundledAsset;FI"logical_path;FI"Core/DefaultProxy.js;TI"
pathname;FI"R/Users/bogumil/www/engines/cesium/app/assets/javascripts/Core/DefaultProxy.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-02-24T17:09:01+01:00;FI"length;Fi�I"digest;F"%52a364d0035627e8115b7488971f27eeI"source;FI"�/*global define*/

define(function() {
    "use strict";

    /**
     * A simple proxy that appends the desired resource as the sole query parameter
     * to the given proxy URL.
     *
     * @alias DefaultProxy
     * @constructor
     *
     * @param {String} proxy The proxy URL that will be used to requests all resources.
     */
    var DefaultProxy = function(proxy) {
        this.proxy = proxy;
    };

    /**
     * Get the final URL to use to request a given resource.
     *
     * @memberof DefaultProxy
     *
     * @param {String} resource The resource to request.
     */
    DefaultProxy.prototype.getURL = function(resource) {
        return this.proxy + '?' + encodeURIComponent(resource);
    };

    return DefaultProxy;
});
;FI"required_assets_digest;F"%b81f8be6249a62cf2bb5dbe3d3780039I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cesium-0.24.0 test/dummy/tmp/cache/assets/CDF/D10/sprockets%2F335787107b488ab63480b1bb3ce76ea7
cesium-0.23.0 test/dummy/tmp/cache/assets/CDF/D10/sprockets%2F335787107b488ab63480b1bb3ce76ea7
cesium-0.22.0 test/dummy/tmp/cache/assets/CDF/D10/sprockets%2F335787107b488ab63480b1bb3ce76ea7