summaryrefslogtreecommitdiff
path: root/source/features/embed-gist-inline.tsx
diff options
context:
space:
mode:
authorGravatar Fregante <opensource@bfred.it> 2020-05-19 22:52:08 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-19 22:52:08 +0200
commitf9d8b7a5a402e19b0cb16fd937e0f19c43a6e699 (patch)
tree0b7a3d6cc31c8975921a7d7fcf6c4bc7e0e020e2 /source/features/embed-gist-inline.tsx
parent508c93a3f4cf219f343d19b927ae0d07ec3ad7f8 (diff)
downloadrefined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.tar.gz
refined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.tar.zst
refined-github-f9d8b7a5a402e19b0cb16fd937e0f19c43a6e699.zip
Meta: Reorganize utility functions (#3110)
Diffstat (limited to 'source/features/embed-gist-inline.tsx')
-rw-r--r--source/features/embed-gist-inline.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index 7b31fa02..dda1b6be 100644
--- a/source/features/embed-gist-inline.tsx
+++ b/source/features/embed-gist-inline.tsx
@@ -3,8 +3,8 @@ import domify from 'doma';
import select from 'select-dom';
import * as pageDetect from 'github-url-detection';
-import features from '../libs/features';
-import {isFirefox} from '../libs/utils';
+import features from '.';
+import {isFirefox} from '../github-helpers';
const isGist = (link: HTMLAnchorElement): boolean =>
!link.pathname.includes('.') && // Exclude links to embed files