Sha256: d428592732b7df2fd9aa34c9c04a9da9b29996cfba6f6a85dd4dac36a6dd4279

Contents?: true

Size: 964 Bytes

Versions: 4

Compression:

Stored size: 964 Bytes

Contents

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

    /**
     * Observable properties are used to implement two-way data binding in
     * Cesium's Model-View-View-Model (MVVM) based widget architecture.
     *
     * To retrieve an Observable's value, call it as a function with no
     * parameters.
     *
     * To set an Observable's value, call it as a function with a single
     * parameter.
     *
     * This type describes an interface and is not intended to be instantiated
     * directly.
     *
     * @alias Observable
     * @constructor
     *
     * @see <a href='http://knockoutjs.com/'>Knockout homepage</a>.
     * @see <a href='https://github.com/AnalyticalGraphicsInc/cesium/wiki/Architecture'>Widget Architecture</a>.
     */
    var Observable = function Observable() {
        throw new DeveloperError('This type should not be instantiated directly.');
    };

    return Observable;
});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cesium-0.17.0 app/assets/javascripts/Widgets/Observable.js
cesium-0.16.0 app/assets/javascripts/Widgets/Observable.js
cesium-0.15.0 app/assets/javascripts/Widgets/Observable.js
cesium-0.14.0 app/assets/javascripts/Widgets/Observable.js