Sha256: a4a2c240fc196336a857217cc610212a79db9b056427f9a3326494f75a90d69a
Contents?: true
Size: 849 Bytes
Versions: 8
Compression:
Stored size: 849 Bytes
Contents
/*global define*/ define(['Core/defined'], function(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(defineProperties)) { defineProperties = function(o) { return o; }; } return defineProperties; });
Version data entries
8 entries across 8 versions & 1 rubygems