1234567891011121314151617181920212223242526272829303132 |
- /* This file is automatically rebuilt by the Cesium build process. */
- define(['exports', './defined-26bd4a03'], function (exports, defined) { 'use strict';
- var definePropertyWorks = (function() {
- try {
- return 'x' in Object.defineProperty({}, 'x', {});
- } catch (e) {
- return false;
- }
- })();
- /**
- * Defines properties on an object, using Object.defineProperties if available,
- * otherwise returns the object unchanged. This function should be used in
- * setup code to prevent errors from completely halting JavaScript execution
- * in legacy browsers.
- *
- * @private
- *
- * @exports defineProperties
- */
- var defineProperties = Object.defineProperties;
- if (!definePropertyWorks || !defined.defined(defineProperties)) {
- defineProperties = function(o) {
- return o;
- };
- }
- var defineProperties$1 = defineProperties;
- exports.defineProperties = defineProperties$1;
- });
|