mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-06 23:27:14 -04:00
Removed require of socketio, l10n, html10n and error reporter
This commit is contained in:
parent
1ccd27e2d3
commit
5d0da514f9
5 changed files with 12 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
import html10n from '../js/vendors/html10n';
|
||||
|
||||
|
||||
((document) => {
|
||||
// Set language for l10n
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
'use strict';
|
||||
import io from 'socket.io-client';
|
||||
|
||||
/**
|
||||
* Creates a socket.io connection.
|
||||
|
|
6
src/static/js/vendors/html10n.js
vendored
6
src/static/js/vendors/html10n.js
vendored
|
@ -22,7 +22,7 @@
|
|||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
window.html10n = (function(window, document, undefined) {
|
||||
export let html10n = (function(window, document, undefined) {
|
||||
|
||||
// fix console
|
||||
(function() {
|
||||
|
@ -1054,3 +1054,7 @@ window.html10n = (function(window, document, undefined) {
|
|||
|
||||
return html10n
|
||||
})(window, document)
|
||||
|
||||
export default html10n
|
||||
|
||||
window.html10n = html10n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue