discourse/app/assets/javascripts/admin/addon/controllers
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
..
modals DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-api-keys-index.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-api-keys-new.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-api-keys-show.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-api-keys.js
admin-backups-index.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-backups-logs.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-backups.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-badges-award.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-badges-show.js FEATURE: Link to text customization when editing system badges (#11345) 2020-12-08 11:55:49 -08:00
admin-badges.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-colors-show.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-colors.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-email-style-edit.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-email-templates-edit.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-email-templates.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-robots-txt.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-themes-edit.js FEATURE: Adds back button to theme editor (#11416) 2020-12-08 10:54:44 +11:00
admin-customize-themes-show.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-customize-themes.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-dashboard-general.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-dashboard-moderation.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-dashboard-reports.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-dashboard.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-email-advanced-test.js
admin-email-bounced.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-email-index.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-email-logs.js
admin-email-preview-digest.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-email-received.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-email-rejected.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-email-sent.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-email-skipped.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-embedding.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-emojis.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-logs-screened-emails.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-logs-screened-ip-addresses.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-logs-screened-urls.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-logs-staff-action-logs.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-permalinks.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-plugins.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-reports-show.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-search-logs-index.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-search-logs-term.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-site-settings-category.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-site-settings.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-site-text-edit.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-site-text-index.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-user-badges.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-user-fields.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-user-index.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-user.js
admin-users-list-show.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-watched-words-action.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-watched-words.js DEV: Wrap `Ember.run.debounce`. (#11352) 2020-12-10 11:01:42 -03:00
admin-web-hooks-show-events.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-web-hooks-show.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-web-hooks.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00