1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 20:02:06 +02:00

Replace jQuery code with vanilla JS for better performance (#35)

* Bundle `pusher-js`

* Update `pusher/pusher-php-server`

* StyleCi fix

* Revert "Bundle `pusher-js`"

This reverts commit 55bb1ff0988973e436317c00ca2b83ad4c39d6da.

* Remove no longer used code

* Replace `$.getScript` for better performance

* Revert "Update `pusher/pusher-php-server`"

This reverts commit 7d1e2336

* Use `import()`

* Add `once`

* Update js/tsconfig.json

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>

* Async function

Co-authored-by: Alexander Skvortsov <38059171+askvortsov1@users.noreply.github.com>
This commit is contained in:
Rafał Całka
2021-12-23 13:59:25 +01:00
committed by GitHub
parent 9d986c331d
commit 3e8d5bd400
2 changed files with 21 additions and 39 deletions

View File

@@ -7,6 +7,7 @@
"baseUrl": ".",
"paths": {
"flarum/*": ["../vendor/flarum/core/js/dist-typings/*"]
}
},
"module": "es2020"
}
}