Removed require of socketio, l10n, html10n and error reporter

This commit is contained in:
SamTV12345 2024-07-13 22:14:57 +02:00 committed by SamTv12345
parent 1ccd27e2d3
commit 5d0da514f9
5 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,5 @@
'use strict';
import html10n from '../js/vendors/html10n';
((document) => {
// Set language for l10n

View file

@ -1,4 +1,4 @@
'use strict';
import io from 'socket.io-client';
/**
* Creates a socket.io connection.

View file

@ -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