framework/js
David Wheatley 2831ce226c
Fix global typings for extensions (#2992)
* Fix global typings for extensions

* Deprecate global `app` typings

See https://github.com/flarum/core/issues/2857#issuecomment-889841326

* Add `app` export for common namespace

* Add missing `app` imports within core

* Add missing `app` imports to JS files

* Fix incorrect import

* Fix admin file importing forum `app`

* Add `flarum` global variable

* Format

* Update JSDoc comment

* Update JSDoc comment

Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com>

* Fix frontend JS error

* Empty commit

Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com>
2021-08-19 10:10:40 +01:00
..
dist Bundled output for commit 83529e23de 2021-08-16 09:57:55 +00:00
dist-typings Bundled output for commit 5a1948c4fc 2021-07-14 14:15:44 +00:00
src Fix global typings for extensions (#2992) 2021-08-19 10:10:40 +01:00
.bundlewatch.config.json Add bundlewatch to track bundle size changes in PRs (#2695) 2021-03-17 14:54:42 +00:00
admin.js Drop JS copyright blocks 2021-05-15 20:11:38 -04:00
forum.js Drop JS copyright blocks 2021-05-15 20:11:38 -04:00
package-lock.json Remove format hook on commit; update CI to only build with valid formatting (#3032) 2021-08-19 01:53:39 +01:00
package.json Fix global typings for extensions (#2992) 2021-08-19 10:10:40 +01:00
tsconfig.json Update core to use new Webpack config, flarum-tsconfig, and build action (#2856) 2021-05-13 00:28:17 +01:00
webpack.config.js Update core to use new Webpack config, flarum-tsconfig, and build action (#2856) 2021-05-13 00:28:17 +01:00