Skip to content

Commit

Permalink
Release v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nmasnadithya committed Feb 4, 2022
1 parent 5b7a454 commit 5b4903f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions background/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
sendResponse(`done ${message['paperId']}`)
} else {
handleTabMessage(message, sender, sendResponse)
return true
}
} catch (err) {
submitError({
Expand Down
1 change: 0 additions & 1 deletion content_scripts/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ function setup() {
chrome.runtime.onMessage.addListener(
(message, sender, sendResponse) => {
try {
window['labml_links'] = message
updateIndicator(message)
LOGGER.log('tab message', message)
sendResponse('got it')
Expand Down
3 changes: 3 additions & 0 deletions content_scripts/papers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,15 @@ export function addIndicator(
}

export function updateIndicator(papers: { [link: string]: PaperModel }) {
let linksToSave: string[] = []
for (let link of links) {
if (papers[link.link] == null) {
continue
}
linksToSave.push(link.link)

link.paper.loadFrom(papers[link.link])
link.update()
}
window['labml_links'] = linksToSave
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"48": "assets/icon48.png",
"128": "assets/icon128.png"
},
"version": "1.1.0",
"version": "1.1.1",
"description": "\uD83D\uDD0E View information about research papers linked from websites you visit.",
"background": {
"service_worker": "js/background.js"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "webpack --config webpack/webpack.prod.js",
"prepare": "husky install"
},
"version": "1.1.0",
"version": "1.1.1",
"lint-staged": {
"**/*": ""
}
Expand Down

0 comments on commit 5b4903f

Please sign in to comment.