Bug, seen by @yurydelendik, thanx!
This commit is contained in:
		
							parent
							
								
									17c1018eef
								
							
						
					
					
						commit
						d70e6ab40c
					
				| @ -79,10 +79,9 @@ | |||||||
| 
 | 
 | ||||||
| // Object.defineProperty() ?
 | // Object.defineProperty() ?
 | ||||||
| (function checkObjectDefinePropertyCompatibility() { | (function checkObjectDefinePropertyCompatibility() { | ||||||
|   // safari 5 cannot use this on DOM objects and thus is unusable,
 |   // safari 5 and 6 cannot use this on DOM objects and thus it's unusable,
 | ||||||
|   // see http://kangax.github.com/es5-compat-table/
 |  | ||||||
|   if ((typeof Object.defineProperty !== 'undefined') && |   if ((typeof Object.defineProperty !== 'undefined') && | ||||||
|     /Safari\/5/.test(navigator.userAgent)) return; |     !/Safari/.test(navigator.userAgent)) return; | ||||||
| 
 | 
 | ||||||
|   Object.defineProperty = function objectDefineProperty(obj, name, def) { |   Object.defineProperty = function objectDefineProperty(obj, name, def) { | ||||||
|     delete obj[name]; |     delete obj[name]; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user