Skip to content

Commit

Permalink
Merge ec211c8 into 4a8e01d
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Aug 5, 2019
2 parents 4a8e01d + ec211c8 commit da6ec78
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions debug/src/devtools/custom.js
@@ -1,3 +1,4 @@
/* istanbul ignore file */
import { Component, Fragment } from 'preact';

/**
Expand Down
1 change: 1 addition & 0 deletions debug/src/devtools/index.js
@@ -1,3 +1,4 @@
/* istanbul ignore file */
import { options, Component, Fragment } from 'preact';
import { Renderer } from './renderer';

Expand Down
1 change: 1 addition & 0 deletions debug/src/devtools/renderer.js
@@ -1,3 +1,4 @@
/* istanbul ignore file */
import { getData, getChildren, getInstance, hasDataChanged, isRoot } from './custom';

/**
Expand Down
2 changes: 2 additions & 0 deletions debug/test/browser/devtools.test.js
Expand Up @@ -137,7 +137,9 @@ function getRoot(element) {
return element._children;
}

const supported = /(Chrome)|(Firefox)[^(Edge)]/i.test(navigator.userAgent);
describe('devtools', () => {
if (!supported) return;

/** @type {import('../../src/internal').PreactElement} */
let scratch;
Expand Down

0 comments on commit da6ec78

Please sign in to comment.