Skip to content

Commit 94f9d71

Browse files
committed
update comments, remove unused js function
1 parent 8f52a9c commit 94f9d71

4 files changed

Lines changed: 2 additions & 12 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Running instructions
44

5-
`docker-compose up` will leave you with working ukeeper-redabilty service (both API and frontend) running on <http://localhost:8080>.
5+
`docker-compose up` will leave you with working ukeeper-readability service (both API and frontend) running on <http://localhost:8080>.
66

77
### Configuration
88

backend/.golangci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ linters:
88
- dupl
99
- errcheck
1010
- exportloopref
11-
- gas
1211
- gochecknoinits
1312
- goconst
1413
- gocritic
@@ -20,7 +19,6 @@ linters:
2019
- gosimple
2120
- govet
2221
- ineffassign
23-
- megacheck
2422
- misspell
2523
- nakedret
2624
- revive
@@ -31,11 +29,9 @@ linters:
3129
- unconvert
3230
- unparam
3331
- unused
34-
- unused
3532
- whitespace
3633
disable-all: true
3734

3835
issues:
3936
exclude-dirs:
4037
- vendor
41-
- readability

backend/extractor/readability.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package extractor uses altered version of go-readabilty and local rules to get articles
1+
// Package extractor uses mauidude/go-readability and local rules to get articles
22
package extractor
33

44
import (

backend/web/main.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,6 @@ document.addEventListener('DOMContentLoaded', () => {
227227
tip.style.display = 'block';
228228
}
229229
});
230-
231-
rule.querySelector('.form__input').addEventListener('keydown', function (e) {
232-
if (e.ctrlKey && e.keyCode === 13) {
233-
rule.querySelector('.rule__button-save').click();
234-
}
235-
});
236230
}
237231

238232
if (document.getElementById('rules__list')) {

0 commit comments

Comments
 (0)