Use socketio
This commit is contained in:
parent
36e40891dd
commit
b01dca86e5
|
@ -10,7 +10,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/common/AllFonts.js"></script>
|
||||
<script type="text/javascript" src="../../../../sdkjs/word/sdk-all-min.js"></script>
|
||||
|
|
|
@ -229,7 +229,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<script src="../../../vendor/requirejs/require.js"></script>
|
||||
|
|
|
@ -220,7 +220,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script src="../../../vendor/requirejs/require.js"></script>
|
||||
<script>
|
||||
|
|
|
@ -329,7 +329,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/word/scripts.js"></script>
|
||||
|
|
|
@ -320,7 +320,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<!--sdk-->
|
||||
|
|
|
@ -46,7 +46,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts',
|
||||
sdk : '../../sdkjs/word/sdk-all-min',
|
||||
api : 'api/documents/api',
|
||||
|
@ -100,7 +100,7 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
|
|
|
@ -46,7 +46,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
@ -113,7 +113,7 @@ require([
|
|||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'sockjs',
|
||||
'socketio',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
if (Backbone.History && Backbone.History.started)
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts',
|
||||
sdk : '../../sdkjs/word/sdk-all-min',
|
||||
api : 'api/documents/api',
|
||||
|
@ -107,7 +107,7 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
@ -120,7 +120,7 @@ require([
|
|||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'sockjs',
|
||||
'socketio',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
if (Backbone.History && Backbone.History.started)
|
||||
|
|
|
@ -61,7 +61,7 @@ class MainController extends Component {
|
|||
!window.sdk_scripts && (window.sdk_scripts = ['../../../../sdkjs/common/AllFonts.js',
|
||||
'../../../../sdkjs/word/sdk-all-min.js']);
|
||||
let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js',
|
||||
'../../../vendor/sockjs/sockjs.min.js'];
|
||||
'../../../vendor/socketio/socket.io.min.js'];
|
||||
dep_scripts.push(...window.sdk_scripts);
|
||||
|
||||
const promise_get_script = (scriptpath) => {
|
||||
|
|
|
@ -279,7 +279,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<script src="../../../vendor/requirejs/require.js"></script>
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script src="../../../vendor/requirejs/require.js"></script>
|
||||
<script>
|
||||
|
|
|
@ -327,7 +327,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../../../sdkjs/develop/sdkjs/slide/scripts.js"></script>
|
||||
|
|
|
@ -320,7 +320,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<!--sdk-->
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts',
|
||||
sdk : '../../sdkjs/slide/sdk-all-min',
|
||||
api : 'api/documents/api',
|
||||
|
@ -106,7 +106,7 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
|
|
|
@ -48,7 +48,7 @@ require.config({
|
|||
jquery : '../vendor/jquery/jquery.min',
|
||||
underscore : '../vendor/underscore/underscore-min',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts',
|
||||
sdk : '../../sdkjs/slide/sdk-all-min'
|
||||
},
|
||||
|
@ -62,7 +62,7 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
@ -119,7 +119,7 @@ require([
|
|||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'sockjs',
|
||||
'socketio',
|
||||
'xregexp',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
|
|
|
@ -48,7 +48,7 @@ require.config({
|
|||
jquery : '../vendor/jquery/jquery',
|
||||
underscore : '../vendor/underscore/underscore',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts'
|
||||
},
|
||||
shim: {
|
||||
|
@ -61,14 +61,14 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
require([
|
||||
'sockjs',
|
||||
'socketio',
|
||||
'xregexp',
|
||||
'underscore'
|
||||
], function () {
|
||||
|
|
|
@ -55,7 +55,7 @@ class MainController extends Component {
|
|||
!window.sdk_scripts && (window.sdk_scripts = ['../../../../sdkjs/common/AllFonts.js',
|
||||
'../../../../sdkjs/slide/sdk-all-min.js']);
|
||||
let dep_scripts = ['../../../vendor/xregexp/xregexp-all-min.js',
|
||||
'../../../vendor/sockjs/sockjs.min.js'];
|
||||
'../../../vendor/socketio/socket.io.min.js'];
|
||||
dep_scripts.push(...window.sdk_scripts);
|
||||
|
||||
const promise_get_script = (scriptpath) => {
|
||||
|
|
|
@ -252,7 +252,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
<script src="../../../vendor/requirejs/require.js"></script>
|
||||
|
|
|
@ -326,7 +326,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
|
|
|
@ -318,7 +318,7 @@
|
|||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/socketio/socket.io.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
allfonts : '../../sdkjs/common/AllFonts',
|
||||
sdk : '../../sdkjs/cell/sdk-all-min',
|
||||
api : 'api/documents/api',
|
||||
|
@ -106,7 +106,7 @@ require.config({
|
|||
'underscore',
|
||||
'allfonts',
|
||||
'xregexp',
|
||||
'sockjs'
|
||||
'socketio'
|
||||
]
|
||||
},
|
||||
gateway: {
|
||||
|
|
|
@ -53,7 +53,7 @@ require.config({
|
|||
perfectscrollbar: 'common/main/lib/mods/perfect-scrollbar',
|
||||
jmousewheel : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
|
||||
xregexp : '../vendor/xregexp/xregexp-all-min',
|
||||
sockjs : '../vendor/sockjs/sockjs.min',
|
||||
socketio : '../vendor/socketio/socket.io.min.js',
|
||||
api : 'api/documents/api',
|
||||
core : 'common/main/lib/core/application',
|
||||
notification : 'common/main/lib/core/NotificationCenter',
|
||||
|
@ -119,7 +119,7 @@ require([
|
|||
'analytics',
|
||||
'gateway',
|
||||
'locale',
|
||||
'sockjs',
|
||||
'socketio',
|
||||
'underscore'
|
||||
], function (Backbone, Bootstrap, Core) {
|
||||
if (Backbone.History && Backbone.History.started)
|
||||
|
|
|
@ -71,7 +71,7 @@ class MainController extends Component {
|
|||
'../../../vendor/bootstrap/dist/js/bootstrap.min.js',
|
||||
'../../../vendor/underscore/underscore-min.js',
|
||||
'../../../vendor/xregexp/xregexp-all-min.js',
|
||||
'../../../vendor/sockjs/sockjs.min.js'];
|
||||
'../../../vendor/socketio/socket.io.min.js'];
|
||||
dep_scripts.push(...window.sdk_scripts);
|
||||
|
||||
const promise_get_script = (scriptpath) => {
|
||||
|
|
7
vendor/socketio/socket.io.esm.min.js
vendored
Normal file
7
vendor/socketio/socket.io.esm.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
vendor/socketio/socket.io.esm.min.js.map
vendored
Normal file
1
vendor/socketio/socket.io.esm.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
4560
vendor/socketio/socket.io.js
vendored
Normal file
4560
vendor/socketio/socket.io.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
1
vendor/socketio/socket.io.js.map
vendored
Normal file
1
vendor/socketio/socket.io.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
vendor/socketio/socket.io.min.js
vendored
Normal file
7
vendor/socketio/socket.io.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
vendor/socketio/socket.io.min.js.map
vendored
Normal file
1
vendor/socketio/socket.io.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
7
vendor/socketio/socket.io.msgpack.min.js
vendored
Normal file
7
vendor/socketio/socket.io.msgpack.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
vendor/socketio/socket.io.msgpack.min.js.map
vendored
Normal file
1
vendor/socketio/socket.io.msgpack.min.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue