Skip to content

Commit

Permalink
performance 👌: 删除无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricker39 committed Apr 22, 2024
1 parent 6849ec6 commit 40ebd93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion compiler-emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ try {
});
emojiStr = `<span class='emoji-box'>${tempStr}</span>`;
} catch (e) {
//TODO handle the exception
// handle the exception
console.log(e);
throw e;
}

// console.log(__dirname)
Expand Down
6 changes: 0 additions & 6 deletions docs/public/js/pointer.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,6 @@ function init() {
}
};
}
// document.addEventListener('DOMContentLoaded', function(){
// console.log(111);
// init();
// });

// init()

if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
Expand Down

0 comments on commit 40ebd93

Please sign in to comment.