Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsk0315 committed Dec 9, 2023
1 parent 1042738 commit 4c9667d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions hatenablog/css/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* empty */
8 changes: 8 additions & 0 deletions hatenablog/js/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
document.addEventListener('DOMContentLoaded', (() => {
[...document.getElementsByTagName('pre')]
.filter((pre) => pre.getAttribute('data-lang') === 'test')
.forEach((pre) => {
pre.innerText = 'hello';
});
});
}));

0 comments on commit 4c9667d

Please sign in to comment.