mirror of
				https://github.com/flynx/object.js.git
				synced 2025-10-30 02:50:10 +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 } | ||||
| 
 | ||||
| 	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
 | ||||
| 	// it a different offer ;)
 | ||||
| 	_constructor.name == 'Constructor' | ||||
| @ -900,6 +901,7 @@ function Constructor(name, a, b, c){ | ||||
| 		&& eval('_constructor = '+ _constructor | ||||
| 				.toString() | ||||
| 				.replace(/Constructor/g, name)) | ||||
| 	//*/
 | ||||
| 	// set .toString(..)...
 | ||||
| 	// NOTE: do this only if .toString(..) is not defined by user...
 | ||||
| 	// XXX revise this test...
 | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "ig-object", | ||||
|   "version": "5.4.5", | ||||
|   "version": "5.4.6", | ||||
|   "description": "", | ||||
|   "main": "object.js", | ||||
|   "scripts": { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user