We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52abca commit 73917afCopy full SHA for 73917af
sandbox/forms/forms-sandbox.js
@@ -70,19 +70,11 @@ export class FormsSandbox extends LitElement {
70
console.log(`${this._event.type}: ${this._event.json}`);
71
}
72
73
- /**
74
- * @param {string} demo
75
- * @return {string}
76
- */
77
- _getDemoFilePath(demo) {
78
- return `./form-demo-${demo}.js`;
79
- }
80
-
81
/**
82
* @param {string} demo
83
*/
84
_loadDemo(demo) {
85
- import(this._getDemoFilePath(demo)).then(() => {
+ import(`./form-demo-${demo}.js`).then(() => {
86
this._demo = demo;
87
localStorage.setItem('cc-sandbox-form-demo', demo);
88
this._event = null;
0 commit comments