-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
828a615
commit cfbdd3c
Showing
44 changed files
with
2,129 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
diff --git a/node_modules/wc-compiler/src/dom-shim.js b/node_modules/wc-compiler/src/dom-shim.js | ||
index be289a3..dd4692a 100644 | ||
index be289a3..db07eb9 100644 | ||
--- a/node_modules/wc-compiler/src/dom-shim.js | ||
+++ b/node_modules/wc-compiler/src/dom-shim.js | ||
@@ -102,6 +102,9 @@ class ShadowRoot extends DocumentFragment { | ||
@@ -83,6 +83,9 @@ class Document extends Node { | ||
createDocumentFragment(html) { | ||
return new DocumentFragment(html); | ||
} | ||
+ | ||
+ querySelector() { } | ||
+ querySelectorAll() { } | ||
} | ||
|
||
// https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement | ||
@@ -102,6 +105,10 @@ class ShadowRoot extends DocumentFragment { | ||
super(); | ||
this.mode = options.mode || 'closed'; | ||
this.adoptedStyleSheets = []; | ||
+ // TODO not sure if this is the right base class for these? | ||
+ this.querySelector = noop; | ||
+ this.querySelectorAll = noop; | ||
+ this.getElementById = noop; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.