Sha256: d2fd1d4583beb96e1e51c0c5c4f79350c52e748daf16f74048a12e735571d4c5
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
/*global define*/ define(function() { "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 || typeof defineProperties === 'undefined') { defineProperties = function(o) { return o; }; } return defineProperties; });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.19.0 | app/assets/javascripts/Core/defineProperties.js |
cesium-0.18.0 | app/assets/javascripts/Core/defineProperties.js |