discourse/app/assets/javascripts/discourse-common/addon/lib
Godfrey Chan 923b51ad25
DEV: add loader.js shims for packages used across bundles (#22703)
This adds a new `loaderShim()` function to ensure certain modules
are present in the `loader.js` registry and therefore runtime
`require()`-able.

Currently, the classic build pipeline puts a lot of things in the
runtime `loader.js` registry automatically. For example, all of
the ember-auto-import packages are in there.

Going forward, and especially as we switch to the Embroider build
pipeline, this will not be guarenteed. We need to keep an eye on
what modules (packages) our "external" bundles (admin, wizard,
markdown-it, plugins, etc) are expecting to be present and put
them into the registry proactively.
2023-08-09 12:04:41 +01:00
..
attribute-hook.js DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
avatar-utils.js DEV: Move avatar-utils into dedicated discourse-common module (#22517) 2023-07-12 09:06:16 +01:00
debounce.js FIX: reimplements chat audio into a service (#18983) 2022-11-11 13:11:41 +01:00
deprecated.js DEV: Fail core JS test runs if deprecations are triggered (#20614) 2023-03-10 10:39:42 +00:00
discourse-template-map.js DEV: Remove Ember.TEMPLATES and centralize template resolution rules (#19220) 2022-11-29 10:24:35 +00:00
dom-from-string.js DEV: Allow utility class domFromString to take in strings with multiple top level elements (#15548) 2022-01-12 19:49:24 +08:00
escape.js FIX: Escape Font Awesome icons (#12421) 2021-03-17 16:11:40 +03:00
get-owner.js DEV: Set owner on widget instances (#22391) 2023-07-03 17:34:24 +01:00
get-url.js FIX: Validate asset url before replacing base url (#16438) 2023-01-30 07:32:48 +08:00
helpers.js DEV: Remove 'dasherize' string prototype extensions (#16740) 2022-05-13 10:56:23 -05:00
icon-library.js FIX: Add REPLACEMENTS icons to styleguide 2022-12-15 09:12:18 -06:00
later.js DEV: Introduce discourseLater (#17532) 2022-07-17 00:50:49 +02:00
loader-shim.js DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
object.js
popular-themes.js DEV: Convert helpers into plain functions (#22385) 2023-07-20 19:45:40 +01:00
raw-handlebars-helpers.js DEV: Extensively use startsWith() (#17540) 2022-07-17 20:16:39 +02:00
raw-handlebars.js DEV: Use DiscourseJsProcessor for theme template compilation (#18135) 2022-09-01 11:50:46 +01:00
raw-templates.js DEV: move raw handlebars to /raw-templates/ (#22574) 2023-07-13 12:57:45 -05:00
suffix-trie.js PERF: Improve JS app boot speed by optimizing customResolve() (#14990) 2021-11-18 16:38:00 +00:00