File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -8,23 +8,15 @@ export default function fn(ripple) {
88
99 var proto = Object . create ( HTMLElement . prototype )
1010 , opts = { prototype : proto }
11- , extend = res . headers [ 'extends' ]
1211
13- extend && ( opts . extends = extend )
1412 proto . attachedCallback = ripple . draw
1513 document . registerElement ( res . name , opts )
1614 }
1715}
1816
19- function registered ( res ) {
20- var extend = header ( 'extends' ) ( res )
21-
22- return extend ? document . createElement ( extend , res . name ) . attachedCallback
23- : document . createElement ( res . name ) . attachedCallback
24- }
17+ const registered = res => document . createElement ( res . name ) . attachedCallback
2518
2619import includes from 'utilise/includes'
27- import header from 'utilise/header'
2820import client from 'utilise/client'
2921import all from 'utilise/all'
3022const customs = client && ! ! document . registerElement
You can’t perform that action at this time.
0 commit comments