File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44import cgi
55import redis
66from flask import Flask , render_template , request
7- from flask . ext . socketio import SocketIO
7+ from flask_socketio import SocketIO
88
99app = Flask (__name__ )
1010db = redis .StrictRedis ('localhost' , 6379 , 0 )
Original file line number Diff line number Diff line change 1- Flask == 0.10.1
2- Flask-SocketIO == 0.6 .0
1+ Flask == 0.11.0
2+ Flask-SocketIO == 2.4 .0
33redis == 2.10.3
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><span id="connected">{{ connected }}</span>
77
88 < script type ="text/javascript "
99 src ="http://code.jquery.com/jquery-1.11.1.min.js "> </ script >
10- < script type ="text/javascript " src ="//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16 /socket.io.min.js "> </ script >
10+ < script type ="text/javascript " src ="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5 /socket.io.min.js "> </ script >
1111
1212 < script type ="text/javascript ">
1313 $ ( document ) . ready ( function ( ) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ <h1>In what cities other than DC have you gone to Python meetups?</h1>
1111
1212 < script type ="text/javascript "
1313 src ="http://code.jquery.com/jquery-1.11.1.min.js "> </ script >
14- < script type ="text/javascript " src ="//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16 /socket.io.min.js "> </ script >
14+ < script type ="text/javascript " src ="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5 /socket.io.min.js "> </ script >
1515
1616 < script type ="text/javascript ">
1717 $ ( document ) . ready ( function ( ) {
You can’t perform that action at this time.
0 commit comments