1 | // BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. |
||
2 | // |
||
3 | // Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below). |
||
4 | // |
||
5 | // This program is free software; you can redistribute it and/or modify it under the |
||
6 | // terms of the GNU Lesser General Public License as published by the Free Software |
||
7 | // Foundation; either version 3.0 of the License, or (at your option) any later |
||
8 | // version. |
||
9 | // |
||
10 | // BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY |
||
11 | // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
||
12 | // PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. |
||
13 | // |
||
14 | // You should have received a copy of the GNU Lesser General Public License along |
||
15 | // with BigBlueButton; if not, see <http://www.gnu.org/licenses/>. |
||
16 | |||
17 | // Action Cable provides the framework to deal with WebSockets in Rails. |
||
18 | // You can generate new channels where WebSocket features live using the rails generate channel command. |
||
19 | // |
||
20 | //= require action_cable |
||
21 | //= require_self |
||
22 | //= require_tree ./channels |
||
23 | |||
24 | (function() { |
||
25 | var protocol = (window.location.protocol === "https:" ? "wss://" : "ws://"); |
||
26 | var host = window.GreenLight.WEBSOCKET_HOST || window.location.host + window.GreenLight.RELATIVE_ROOT; |
||
27 | var url = protocol + host + '/cable'; |
||
28 | |||
29 | this.App || (this.App = {}); |
||
30 | |||
31 | App.cable = ActionCable.createConsumer(url); |
||
0 ignored issues
–
show
The variable
App seems to be never declared. If this is a global, consider adding a /** global: App */ comment.
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed. To learn more about declaring variables in Javascript, see the MDN. ![]() |
|||
32 | }).call(this); |
||
33 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.