You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							44 lines
						
					
					
						
							1.8 KiB
						
					
					
				
			
		
		
	
	
							44 lines
						
					
					
						
							1.8 KiB
						
					
					
				| // Current version.
 | |
| export var VERSION = '1.13.6';
 | |
| 
 | |
| // Establish the root object, `window` (`self`) in the browser, `global`
 | |
| // on the server, or `this` in some virtual machines. We use `self`
 | |
| // instead of `window` for `WebWorker` support.
 | |
| export var root = (typeof self == 'object' && self.self === self && self) ||
 | |
|           (typeof global == 'object' && global.global === global && global) ||
 | |
|           Function('return this')() ||
 | |
|           {};
 | |
| 
 | |
| // Save bytes in the minified (but not gzipped) version:
 | |
| export var ArrayProto = Array.prototype, ObjProto = Object.prototype;
 | |
| export var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;
 | |
| 
 | |
| // Create quick reference variables for speed access to core prototypes.
 | |
| export var push = ArrayProto.push,
 | |
|     slice = ArrayProto.slice,
 | |
|     toString = ObjProto.toString,
 | |
|     hasOwnProperty = ObjProto.hasOwnProperty;
 | |
| 
 | |
| // Modern feature detection.
 | |
| export var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined',
 | |
|     supportsDataView = typeof DataView !== 'undefined';
 | |
| 
 | |
| // All **ECMAScript 5+** native function implementations that we hope to use
 | |
| // are declared here.
 | |
| export var nativeIsArray = Array.isArray,
 | |
|     nativeKeys = Object.keys,
 | |
|     nativeCreate = Object.create,
 | |
|     nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;
 | |
| 
 | |
| // Create references to these builtin functions because we override them.
 | |
| export var _isNaN = isNaN,
 | |
|     _isFinite = isFinite;
 | |
| 
 | |
| // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.
 | |
| export var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');
 | |
| export var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',
 | |
|   'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];
 | |
| 
 | |
| // The largest integer that can be represented exactly.
 | |
| export var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;
 |