mirror of
				https://github.com/gnh1201/welsonjs.git
				synced 2025-10-30 20:41:18 +00:00 
			
		
		
		
	Update app.js
This commit is contained in:
		
							parent
							
								
									4db58b0a3a
								
							
						
					
					
						commit
						0764d2793d
					
				
							
								
								
									
										4
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								app.js
									
									
									
									
									
								
							|  | @ -226,7 +226,7 @@ function require(pathname) { | |||
|     if (cache[FN]) return cache[FN]; | ||||
| 
 | ||||
|     var T = ''; | ||||
|     if (require._scriptProviders.length > 0) { | ||||
|     if (FN.indexOf('://') > -1 && require._scriptProviders.length > 0) { | ||||
|         // get a script from a custom provider (e.g., remote server)
 | ||||
|         var status = -1, i = 0; | ||||
|         while (status < 0 && i < require._scriptProviders.length) { | ||||
|  | @ -234,7 +234,7 @@ function require(pathname) { | |||
|                 var result = require._scriptProviders[i](FN); | ||||
|                 status = result.status; | ||||
|                 if (status > -1) { | ||||
|                     T = result.data; | ||||
|                     T = result.responseText; | ||||
|                 } | ||||
|                 break; | ||||
|             } catch (e) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub