Jarek Radosz
04659b0e41
DEV: Fix decorator deprecations ( #20438 )
...
…and correctly fix the decorateCookedElement id arg
2023-02-24 10:50:52 +01:00
David Taylor
a433b30650
DEV: Convert admin component definitions to native class syntax ( #20311 )
...
This conversion was achieved using the ember-native-class-codemod, plus a handful of manual fixes/tweaks
2023-02-23 15:32:53 +00:00
Jarek Radosz
f414d5eace
DEV: Use method definition syntax consistently ( #14915 )
2021-11-13 14:01:55 +01:00
Martin Brennan
23b7b42acd
DEV: Bump eslint-config-discourse ( #14868 )
...
Changes for 4f7aba06c0
Also fixes all of the object-shorthand violations in our JS code.
2021-11-10 09:31:41 +10:00
Roman Rizzi
142e0ae062
Revert "Revert "DEV: Wrap Ember.run.debounce
. ( #11352 )"" ( #11509 )
...
* Revert "Revert "DEV: Wrap `Ember.run.debounce`. (#11352 )" (#11465 )"
This reverts commit aa0d4ea764
.
* Correctly debounce onScroll function
2020-12-18 10:18:52 -03:00
Roman Rizzi
aa0d4ea764
Revert "DEV: Wrap Ember.run.debounce
. ( #11352 )" ( #11465 )
...
This reverts commit 8b426431a4
.
2020-12-10 16:48:25 -03:00
Roman Rizzi
8b426431a4
DEV: Wrap Ember.run.debounce
. ( #11352 )
...
We want to wrap the `Ember.run.debounce` function and internally call `Ember.run` instead when running tests.
This commit changes discourseDebounce to work the same way as `Ember.run.debounce`.
Now that `discourseDebounce` works exactly like `Ember.run.debounce`, let's replace it and only use `DiscourseDebounce` from now on.
Move debounce to discourse-common to be able to reuse it in different bundles
Keep old debounce file for backwards-compatibility
2020-12-10 11:01:42 -03:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically ( #11382 )
2020-12-01 15:31:26 -03:00
Robin Ward
ce3fe2f4c4
REFACTOR: Support bundling our admin
section as an ember addon
2020-09-22 15:14:29 -04:00