mirror of
				https://github.com/flynx/object.js.git
				synced 2025-10-30 11:00:08 +00:00 
			
		
		
		
	commented out legacy (?) code...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									6b8e46d302
								
							
						
					
					
						commit
						339dc14c9f
					
				| @ -891,6 +891,7 @@ function Constructor(name, a, b, c){ | |||||||
| 		return obj } | 		return obj } | ||||||
| 
 | 
 | ||||||
| 	Object.defineProperty(_constructor, 'name', { value: name }) | 	Object.defineProperty(_constructor, 'name', { value: name }) | ||||||
|  | 	/*/ XXX is this still needed??? | ||||||
| 	// just in case the browser/node refuses to change the name, we'll make
 | 	// just in case the browser/node refuses to change the name, we'll make
 | ||||||
| 	// it a different offer ;)
 | 	// it a different offer ;)
 | ||||||
| 	_constructor.name == 'Constructor' | 	_constructor.name == 'Constructor' | ||||||
| @ -900,6 +901,7 @@ function Constructor(name, a, b, c){ | |||||||
| 		&& eval('_constructor = '+ _constructor | 		&& eval('_constructor = '+ _constructor | ||||||
| 				.toString() | 				.toString() | ||||||
| 				.replace(/Constructor/g, name)) | 				.replace(/Constructor/g, name)) | ||||||
|  | 	//*/
 | ||||||
| 	// set .toString(..)...
 | 	// set .toString(..)...
 | ||||||
| 	// NOTE: do this only if .toString(..) is not defined by user...
 | 	// NOTE: do this only if .toString(..) is not defined by user...
 | ||||||
| 	// XXX revise this test...
 | 	// XXX revise this test...
 | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ig-object", |   "name": "ig-object", | ||||||
|   "version": "5.4.5", |   "version": "5.4.6", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "object.js", |   "main": "object.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user