Skip to content

Commit 68d6bcd

Browse files
😒 chore(dev-deps): Upgrade xo.
1 parent 004c4b6 commit 68d6bcd

File tree

3 files changed

+421
-721
lines changed

3 files changed

+421
-721
lines changed

doc/scripts/header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const domReady = function (callback) {
77
}
88
};
99

10-
domReady(function () {
10+
domReady(() => {
1111
const projectname = document.createElement('a');
1212
projectname.classList.add('project-name');
1313
projectname.text = 'aureooms/js-knapsack';
@@ -24,7 +24,7 @@ domReady(function () {
2424
const input = document.querySelector('.search-input');
2525

2626
// Active search box when focus on searchBox.
27-
input.addEventListener('focus', function () {
27+
input.addEventListener('focus', () => {
2828
searchBox.classList.add('active');
2929
});
3030
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"nyc": "15.1.0",
100100
"power-assert": "1.6.1",
101101
"regenerator-runtime": "0.13.7",
102-
"xo": "0.35.0"
102+
"xo": "0.36.1"
103103
},
104104
"files": [
105105
"lib"

0 commit comments

Comments
 (0)