Permalink
Browse files

feat(dom): add createTemplateElement

  • Loading branch information...
EisenbergEffect committed Aug 21, 2017
1 parent 27327a8 commit 5143e8c63a8daf7f94def1be73105339d53a78dc
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/dom.js
View
@@ -27,6 +27,9 @@ export const _DOM = {
createDocumentFragment(): DocumentFragment {
throw new self.DOMException('createDocumentFragment is not available in a service/web worker');
},
createTemplateElement(): HTMLTemplateElement {
throw new self.DOMException('createTemplateElement is not available in a service/web worker');
},
createMutationObserver(callback: Function): MutationObserver {
throw new self.DOMException('createMutationObserver is not available in a service/web worker');
},

0 comments on commit 5143e8c

Please sign in to comment.