Skip to content

Commit d9fde3d

Browse files
author
Bruce Lee
committed
fix captcha
1 parent 15199bf commit d9fde3d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

how-to-build-chat-app-with-socket.io-and-angular/04-架构优化与发布.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ socket.on('technode', function (data) {
103103

104104
我们需要一个缓存数据和共享数据的组件,这个组件将服务端请求来的数据缓存下来,避免重复的从服务端请求相同的数据,其次是对所有的controller提供接口,让controller可以共享(读取、修改)同一块数据。
105105

106-
我们把这个组件命名为server,与服务端通信完全通过这个组件,数据缓存到这个组件之中,controller直接与它通信,不必关系正真的服务器是什么样的
106+
我们把这个组件命名为server,与服务端通信完全通过这个组件,数据缓存到这个组件之中,controller直接与它通信,不必关心真正的服务器是什么样的
107107

108108
```
109109
angular.module('techNodeApp').factory('server', ['$cacheFactory', '$q', '$http', 'socket', function($cacheFactory, $q, $http, socket) {
@@ -417,17 +417,17 @@ Looking for build script HTML comment blocks
417417
Configuration is now:
418418
419419
concat:
420-
{ generated:
421-
{ files:
420+
{ generated:
421+
{ files:
422422
[ { dest: '.tmp/concat/css/technode.css',
423-
src:
423+
src:
424424
[ 'static/components/bootstrap/dist/css/bootstrap.min.css',
425425
'static/styles/style.css',
426426
'static/styles/login.css',
427427
'static/styles/rooms.css',
428428
'static/styles/room.css' ] },
429429
{ dest: '.tmp/concat/script/technode.js',
430-
src:
430+
src:
431431
[ 'static/components/jquery/jquery.js',
432432
'static/components/bootstrap/dist/js/bootstrap.min.js',
433433
'static/components/angular/angular.js',
@@ -447,14 +447,14 @@ Configuration is now:
447447
'static/controllers/message-creator.js' ] } ] } }
448448
449449
uglify:
450-
{ generated:
451-
{ files:
450+
{ generated:
451+
{ files:
452452
[ { dest: 'build/script/technode.js',
453453
src: [ '.tmp/concat/script/technode.js' ] } ] } }
454454
455455
cssmin:
456-
{ generated:
457-
{ files:
456+
{ generated:
457+
{ files:
458458
[ { dest: 'build/css/technode.css',
459459
src: [ '.tmp/concat/css/technode.css' ] } ] } }
460460
```

0 commit comments

Comments
 (0)