mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
update to socket.io 0.7.2
This commit is contained in:
parent
84b0521c85
commit
fd5aafe17a
2 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
{ "name": "Hans Pinckaers"}
|
{ "name": "Hans Pinckaers"}
|
||||||
],
|
],
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"socket.io" : "0.6.18",
|
"socket.io" : "0.7.2",
|
||||||
"ueberDB" : "0.0.8",
|
"ueberDB" : "0.0.8",
|
||||||
"async" : "0.1.9",
|
"async" : "0.1.9",
|
||||||
"joose" : "3.18.0",
|
"joose" : "3.18.0",
|
||||||
|
|
|
@ -60,8 +60,7 @@ function randomString() {
|
||||||
|
|
||||||
function handshake()
|
function handshake()
|
||||||
{
|
{
|
||||||
socket = new io.Socket();
|
socket = new io.connect();
|
||||||
socket.connect();
|
|
||||||
|
|
||||||
socket.on('connect', function(){
|
socket.on('connect', function(){
|
||||||
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
|
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue