Skip to content

Commit

Permalink
Add: multiple triggers (#60)
Browse files Browse the repository at this point in the history
* Add: build-git

* WIP: support multiple triggers

* Update core

* Switch to gh

* Add: multiple triggers

* Change: drop sentinel, don't mark processedNodes in validator

* Fix: make mouse over work on refresh

* Refactor: pull out triggers

* Rearrange options page

* Bump deps

* Drop inlinejs

* fixup! Drop inlinejs

* Improve messages

* Dist

* Update readme
  • Loading branch information
eight04 authored Feb 16, 2024
1 parent dc93011 commit 578f657
Show file tree
Hide file tree
Showing 23 changed files with 5,855 additions and 6,797 deletions.
7 changes: 6 additions & 1 deletion .cjsescache
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
"node_modules/webextension-polyfill/dist/browser-polyfill.js",
"src/lib/extension-pref.js",
"src/lib/pref-body.js",
"src/lib/pref-default.js"
"src/lib/pref-default.js",
"src/lib/triggers/click.mjs",
"src/lib/triggers/hover.mjs",
"src/lib/triggers/index.mjs",
"src/lib/triggers/load.mjs",
"src/lib/triggers/mutation.mjs"
]
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ module.exports = {
},
overrides: [
{
files: ["rollup.config.js"],
files: ["rollup.config.js", "**/*.mjs"],
parserOptions: {
sourceType: "module"
}
}
},
]
};
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm ci
- run: npm run build
- run: npm test
# - uses: codecov/codecov-action@v3
# with:
# fail_ci_if_error: true
# verbose: true
25 changes: 0 additions & 25 deletions .inline.js

This file was deleted.

7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Features
* Support custom rules.
* Custom whitelist, blacklist.
* Embed images.
* Multiple methods to trigger the conversion.

Installation
------------
Expand Down
Loading

0 comments on commit 578f657

Please sign in to comment.