- Feb 07, 2022
-
-
Reiter, Christoph authored
In case the scoped registry polyfill is loaded we need to create elements inside of the shadowroot. getShadowRootDocument() returns the polyfilled shadowroot, or in case the polyfill is not loaded just return the global document, which works in case there are no scoped registries. In case we get something like https://github.com/open-wc/open-wc/pull/2389 this will be usefull. Also it makes IDE completion work + eslint.
-
- Feb 02, 2022
-
-
Reiter, Christoph authored
-
- Nov 30, 2021
-
-
Reiter, Christoph authored
This combines URLs similar to an URL join, but assumes the base URL is the root path instead of the host. This is useful for combining API paths with API server entry points.
-
- Apr 28, 2021
-
-
Reiter, Christoph authored
This has proper support for rollup while providing the same API. This is what open-wc recommends now and uses in their @open-wc/testing package
-
- Jan 26, 2021
-
-
Bekerle, Patrizio authored
-
Bekerle, Patrizio authored
-
- Jul 01, 2020
-
-
Reiter, Christoph authored
This way we can change the full path/namespacing at a later point.
-
Reiter, Christoph authored
We now expect the users to pass the right config to vpu-auth. Only the API endpoint config remains which we haven't figured out how to deal with in all cases.
-
Reiter, Christoph authored
We no longer need to support old edge, so we can just use import.meta.url everywhere which doesn't any initialization.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
In case we try to register the element multiple times under the same name just do nothing. This allows us to not register things by default and register under the same name in multiple places where needed without coordination.
-
Reiter, Christoph authored
While this will never work with old Edge it makes things easier during testing where we can't set an id on the script tag. And we still don't know if supporting old Edge is even needed.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
-
-
Reiter, Christoph authored
-
Reiter, Christoph authored
This splits things into two phases, initAssetBaseURL() will try to set a module wide base url for all assets. The first code to use it successfully will define the asset base url for all future getAssetURL() calls.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
So that rollup can do tree shaking and report import errors.
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-
Reiter, Christoph authored
-