Thread
:
Cleaning useless whitespace in Mozilla DOM
View Single Post
10-01-2002, 02:48 AM
PM User
|
#
3
Alex Vincent
Moderator
Join Date: May 2002
Location: Hayward, CA
Posts: 1,427
Thanks: 1
Thanked 19 Times in 17 Posts
I think I like mine better, as it can be much easier modified to work in IE browsers as well. We just change the const to a var, and use window.onload instead of document.addEventListener.
__________________
"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author,
Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
https://alexvincent.us/blog
Alex Vincent
View Public Profile
Find More Posts by Alex Vincent