Sign in
梁美英
/
programming
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
e3c0176c0af2e5619af71a958e0fb75bad18c58e
Authored by
ykxie
2017-06-13 10:41:52 +0800
1 parent
d3cfbaa5
fix socket
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
server/app.js
server/app.js
View file @
e3c0176
...
...
@@ -10,9 +10,9 @@ var content;
10
10
11
11
io.on('connection', function(socket) {
12
12
13
-
socket.on('join', function(username){
13
+
//
socket.on('join', function(username){
14
14
15
-
})
15
+
//
})
16
16
17
17
// 进入房间后同步老师端内容
18
18
io.emit('programming.content', content || "");
...
...