Sha256: 88a5cb8f98885d1e7ca32288bb096938f4159d6ab928b202609d71a6fe14c9ff

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843476.3465412:@value"�{I"
class:EFI"BundledAsset;FI"logical_path;FI"Widgets/getElement.js;TI"
pathname;FI"R/Users/bwrona/www/engines/cesium/app/assets/javascripts/Widgets/getElement.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:02:49+02:00;FI"length;FiI"digest;F"%a0ab3b94dd911c0739620ea7b6a48cd3I"source;FI"/*global define*/

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

    /**
     * If element is a string, look up the element in the DOM by ID.  Otherwise return element.
     *
     * @private
     *
     * @exception {DeveloperError} Element with id "id" does not exist in the document.
     */
    var getElement = function(element) {
        if (typeof element === 'string') {
            var foundElement = document.getElementById(element);
            if (foundElement === null) {
                throw new DeveloperError('Element with id "' + element + '" does not exist in the document.');
            }
            element = foundElement;
        }
        return element;
    };

    return getElement;
});
;FI"required_assets_digest;F"%156728336b3755c0a29692551072d19dI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/D42/830/sprockets%2F2dccc4235d586705349211eed9eaf6f3