Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

_setup.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Current version.
  2. export var VERSION = '1.11.0';
  3. // Establish the root object, `window` (`self`) in the browser, `global`
  4. // on the server, or `this` in some virtual machines. We use `self`
  5. // instead of `window` for `WebWorker` support.
  6. export var root = typeof self == 'object' && self.self === self && self ||
  7. typeof global == 'object' && global.global === global && global ||
  8. Function('return this')() ||
  9. {};
  10. // Save bytes in the minified (but not gzipped) version:
  11. export var ArrayProto = Array.prototype, ObjProto = Object.prototype;
  12. export var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;
  13. // Create quick reference variables for speed access to core prototypes.
  14. export var push = ArrayProto.push,
  15. slice = ArrayProto.slice,
  16. toString = ObjProto.toString,
  17. hasOwnProperty = ObjProto.hasOwnProperty;
  18. // Modern feature detection.
  19. export var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined';
  20. // All **ECMAScript 5+** native function implementations that we hope to use
  21. // are declared here.
  22. export var nativeIsArray = Array.isArray,
  23. nativeKeys = Object.keys,
  24. nativeCreate = Object.create,
  25. nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;
  26. // Create references to these builtin functions because we override them.
  27. export var _isNaN = isNaN,
  28. _isFinite = isFinite;
  29. // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.
  30. export var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');
  31. export var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',
  32. 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];
  33. // The largest integer that can be represented exactly.
  34. export var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;