Commit d3209f8d4c32a5bdbdba6dc05b93ca723e2e5d5a
1 parent
c39b392f
delete gulp-sass
Showing
2 changed files
with
5 additions
and
1 deletions
package.json
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | "gulp": "^3.9.1", | 21 | "gulp": "^3.9.1", |
| 22 | "gulp-less": "^3.3.0", | 22 | "gulp-less": "^3.3.0", |
| 23 | "gulp-notify": "^3.0.0", | 23 | "gulp-notify": "^3.0.0", |
| 24 | - "gulp-sass": "^2.3.2", | 24 | + // "gulp-sass": "^2.3.2", |
| 25 | "gulp-uglify": "^2.0.1", | 25 | "gulp-uglify": "^2.0.1", |
| 26 | "gulp-watch": "^4.3.10", | 26 | "gulp-watch": "^4.3.10", |
| 27 | "pump": "^1.0.1", | 27 | "pump": "^1.0.1", |
server/app.js
| @@ -10,6 +10,10 @@ var content; | @@ -10,6 +10,10 @@ var content; | ||
| 10 | 10 | ||
| 11 | io.on('connection', function(socket) { | 11 | io.on('connection', function(socket) { |
| 12 | 12 | ||
| 13 | + socket.on('join', function(username){ | ||
| 14 | + | ||
| 15 | + }) | ||
| 16 | + | ||
| 13 | // 进入房间后同步老师端内容 | 17 | // 进入房间后同步老师端内容 |
| 14 | io.emit('programming.content', content || ""); | 18 | io.emit('programming.content', content || ""); |
| 15 | 19 |