diff options
author | 2020-05-08 01:42:40 +0200 | |
---|---|---|
committer | 2020-05-08 01:42:40 +0200 | |
commit | a24d9460d36e5147f5a9f389923f2eb75f34e34f (patch) | |
tree | db2f1253ae14d3af1c842af66c318caa760401d4 /source/features/mark-unread.tsx | |
parent | 90b43ae76d84b53eb01a1d8961907c515c010994 (diff) | |
download | refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.gz refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.zst refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.zip |
Extract page-detect.ts into `github-url-detection` (#3062)
Diffstat (limited to 'source/features/mark-unread.tsx')
-rw-r--r-- | source/features/mark-unread.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/features/mark-unread.tsx b/source/features/mark-unread.tsx index e35bdf7e..ec0456e8 100644 --- a/source/features/mark-unread.tsx +++ b/source/features/mark-unread.tsx @@ -4,6 +4,8 @@ import React from 'dom-chef'; import select from 'select-dom'; import delegate from 'delegate-it'; import elementReady from 'element-ready'; +import * as pageDetect from 'github-url-detection'; + import XIcon from 'octicon/x.svg'; import InfoIcon from 'octicon/info.svg'; import CheckIcon from 'octicon/check.svg'; @@ -11,8 +13,8 @@ import MergeIcon from 'octicon/git-merge.svg'; import IssueOpenedIcon from 'octicon/issue-opened.svg'; import IssueClosedIcon from 'octicon/issue-closed.svg'; import PullRequestIcon from 'octicon/git-pull-request.svg'; + import features from '../libs/features'; -import * as pageDetect from '../libs/page-detect'; import onReplacedElement from '../libs/on-replaced-element'; import {getUsername, getRepoURL, logError} from '../libs/utils'; |