@brightspace-ui/core 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,11 +30,7 @@ class CodeView extends LitElement {
|
|
|
30
30
|
if (Prism.languages[language]) {
|
|
31
31
|
this._dependenciesPromise = Promise.resolve();
|
|
32
32
|
} else {
|
|
33
|
-
|
|
34
|
-
for FF, Edge, IE11. Use of non-default languages is limited to dev with this approach.
|
|
35
|
-
https://github.com/Polymer/tools/issues/3402 */
|
|
36
|
-
const path = `/node_modules/prismjs/components/prism-${language}.min.js`;
|
|
37
|
-
this._dependenciesPromise = import(path);
|
|
33
|
+
this._dependenciesPromise = import(`./node_modules/prismjs/components/prism-${language}.min.js`);
|
|
38
34
|
}
|
|
39
35
|
if (this.shadowRoot) this._updateCode(this.shadowRoot.querySelector('slot'));
|
|
40
36
|
super.attributeChangedCallback(name, oldval, newval);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|