Skip to content

Commit

Permalink
chore(lint): fix issues with ESLint
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
lint-action committed Aug 15, 2024
1 parent 3bcbe53 commit 3db5ceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions _data/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const csp = require('./csp');
const multiline = text => text.trim().replace(/^[ \t]+/gm, '');

function djb2(str) {
var len = str.length;
var hash = 5381;
for (var idx = 0; idx < len; ++idx) {
const len = str.length;
let hash = 5381;
for (let idx = 0; idx < len; ++idx) {
hash = ((hash << 5) + hash + str.charCodeAt(idx)) & 0xFFFFFFFF;
}
return hash >>> 0;
Expand Down
2 changes: 1 addition & 1 deletion assets/js.bundle/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $(() => {
// Not a post.
return;
}

// --- Author Socials Button --- //
const authorSocialButton = $('#post-author-container').find('button');
authorSocialButton.on('click', () => {
Expand Down

0 comments on commit 3db5ceb

Please sign in to comment.