Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
remove unnecessary nameless functions
Browse files Browse the repository at this point in the history
  • Loading branch information
myakura committed Sep 16, 2014
1 parent 26068bf commit 8cbc657
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest.json
@@ -1,6 +1,6 @@
{
"name": "Dicentra",
"version": "0.8.0",
"version": "0.8.1",
"description": "enhances WebKit changeset page.",
"manifest_version": 2,

Expand Down
8 changes: 2 additions & 6 deletions version.js
Expand Up @@ -170,12 +170,8 @@
(function () {
httpget(getConfigURL(location.href))
.then(getWebKitVersion)
.then(function (version) {
updatePage(version);
})
.catch(function(error) {
console.error(error);
})
.then(updatePage)
.catch(console.error)
}());

}());

0 comments on commit 8cbc657

Please sign in to comment.