Commit 5c754c7e by 周志凯

count time

1 parent 2b4b8ad4
...@@ -1981,6 +1981,7 @@ ...@@ -1981,6 +1981,7 @@
} }
self.socket.onopen = function(ev) { self.socket.onopen = function(ev) {
console.log('socket:onopen', ev) console.log('socket:onopen', ev)
self.startTiming = new Date()
callback && callback(callbackUrlPath, callbackParam) callback && callback(callbackUrlPath, callbackParam)
} }
self.socket.onclose = function(ev) { self.socket.onclose = function(ev) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!