expose bareClient in __uv
for extending the uv handler or testing
This commit is contained in:
parent
1192a624ae
commit
56bf6fc6b8
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ function __uvHook(window) {
|
||||||
// websockets
|
// websockets
|
||||||
const bareClient = new Ultraviolet.BareClient(__uv$bareURL, __uv$bareData);
|
const bareClient = new Ultraviolet.BareClient(__uv$bareURL, __uv$bareData);
|
||||||
|
|
||||||
|
__uv.bareClient = bareClient;
|
||||||
|
|
||||||
if (__uv.location.href === 'about:srcdoc') {
|
if (__uv.location.href === 'about:srcdoc') {
|
||||||
__uv.meta = window.parent.__uv.meta;
|
__uv.meta = window.parent.__uv.meta;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue