Permalink
Browse files

fix(dom): implement createAttribute

  • Loading branch information...
EisenbergEffect committed Aug 21, 2017
1 parent 9c6126c commit 27327a89d7ec9d2fe9a00ad14fe14c8f4e48bf58
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/dom.js
View
@@ -15,6 +15,9 @@ export const _DOM = {
createElement(tagName: string): Element {
throw new self.DOMException('createElement is not available in a service/web worker');
},
createAttribute(name: string): Attr {
throw new self.DOMException('createAttribute is not available in a service/web worker');
},
createTextNode(text) {
throw new self.DOMException('createTextNode is not available in a service/web worker');
},

0 comments on commit 27327a8

Please sign in to comment.