parent
							
								
									8def0e9956
								
							
						
					
					
						commit
						54d1be2e5a
					
				| @ -22,7 +22,7 @@ | |||||||
|     "rxjs": "5.0.0-beta.12", |     "rxjs": "5.0.0-beta.12", | ||||||
|     "zone.js": "^0.6.23", |     "zone.js": "^0.6.23", | ||||||
| 
 | 
 | ||||||
|     "angular2-in-memory-web-api": "0.0.20", |     "angular-in-memory-web-api": "0.1.3", | ||||||
|     "bootstrap": "^3.3.6" |     "bootstrap": "^3.3.6" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
|     "systemjs": "0.19.27", |     "systemjs": "0.19.27", | ||||||
|     "zone.js": "^0.6.23", |     "zone.js": "^0.6.23", | ||||||
| 
 | 
 | ||||||
|     "angular2-in-memory-web-api": "0.0.20", |     "angular-in-memory-web-api": "0.1.3", | ||||||
|     "bootstrap": "^3.3.6" |     "bootstrap": "^3.3.6" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|  | |||||||
| @ -225,7 +225,7 @@ a(id="other") | |||||||
|   Good for demos, samples, and early stage development (before we even have a server). |   Good for demos, samples, and early stage development (before we even have a server). | ||||||
|   Read about it in the [Http Client](server-communication.html#appendix-tour-of-heroes-in-memory-server) page. |   Read about it in the [Http Client](server-communication.html#appendix-tour-of-heroes-in-memory-server) page. | ||||||
|    |    | ||||||
|   ***angular2-in-memory-web-api*** - 一个Angular的支持库,它能模拟一个远端服务器的Web API,而不需要依赖一个真实的服务器或发起真实的HTTP调用。 |   ***angular-in-memory-web-api*** - 一个Angular的支持库,它能模拟一个远端服务器的Web API,而不需要依赖一个真实的服务器或发起真实的HTTP调用。 | ||||||
|   对演示、文档范例和开发的早期阶段(那时候我们可能还没有服务器呢)非常有用。 |   对演示、文档范例和开发的早期阶段(那时候我们可能还没有服务器呢)非常有用。 | ||||||
|   请到[Http客户端](server-communication.html#appendix-tour-of-heroes-in-memory-server)一章中了解更多知识。 |   请到[Http客户端](server-communication.html#appendix-tour-of-heroes-in-memory-server)一章中了解更多知识。 | ||||||
|    |    | ||||||
|  | |||||||
| @ -1152,7 +1152,7 @@ a#in-mem-web-api | |||||||
|     registered for module loading by SystemJS (see `systemjs.config.js`) |     registered for module loading by SystemJS (see `systemjs.config.js`) | ||||||
|      |      | ||||||
|     内存Web API不是Angular内核的一部分。 |     内存Web API不是Angular内核的一部分。 | ||||||
|     它是一个可选的服务,来自独立的`angular2-in-memory-web-api`库。我们可以通过npm(参见`package.json`)来安装它, |     它是一个可选的服务,来自独立的`angular-in-memory-web-api`库。我们可以通过npm(参见`package.json`)来安装它, | ||||||
|     并且通过SystemJS(参见`systemjs.config.js`)把它注册进模块加载器。 |     并且通过SystemJS(参见`systemjs.config.js`)把它注册进模块加载器。 | ||||||
| 
 | 
 | ||||||
| :marked | :marked | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user