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.
		
		
		
		
		
			
		
			
				
					9 lines
				
				317 B
			
		
		
			
		
	
	
					9 lines
				
				317 B
			| 
								 
											3 years ago
										 
									 | 
							
								'use strict';
							 | 
						||
| 
								 | 
							
								require('../../modules/es6.promise');
							 | 
						||
| 
								 | 
							
								require('../../modules/es7.promise.try');
							 | 
						||
| 
								 | 
							
								var $Promise = require('../../modules/_core').Promise;
							 | 
						||
| 
								 | 
							
								var $try = $Promise['try'];
							 | 
						||
| 
								 | 
							
								module.exports = { 'try': function (callbackfn) {
							 | 
						||
| 
								 | 
							
								  return $try.call(typeof this === 'function' ? this : $Promise, callbackfn);
							 | 
						||
| 
								 | 
							
								} }['try'];
							 |