I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Rick Santorum's Fake Donation Meter
11–20 of 100 posts
Re: Rick Santorum's Fake Donation Meter
#12Re: Rick Santorum's Fake Donation Meter
#13For a fundraising drive to fix their debt problems.
Re: Rick Santorum's Fake Donation Meter
#14Re: Rick Santorum's Fake Donation Meter
#15I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Re: Rick Santorum's Fake Donation Meter
#16I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Are you really asking why a developer tasked with creating something intentionally deceptive didn't use best practices? I'm thinking not a lot of care or attention to anything was paid that day.
Re: Rick Santorum's Fake Donation Meter
#17Aren't there rules about political candidates disclosing donations? And doesn't this violate those rules?
Re: Rick Santorum's Fake Donation Meter
#18I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Re: Rick Santorum's Fake Donation Meter
#19Re: Rick Santorum's Fake Donation Meter
#20Earlier quoted context omitted.
Are you really asking why a developer tasked with creating something intentionally deceptive didn't use best practices? I'm thinking not a lot of care or attention to anything was paid that day.
Probably wanted to make it more readable, it's not even minified.