mozilla / gameon

INACTIVE - http://mzl.la/ghe-archive - Simple playdoh site to support the gameon 2012 challenge
BSD 3-Clause "New" or "Revised" License
0 stars 6 forks source link

Consider using strict mode in JS files #51

Closed toolness closed 2 years ago

toolness commented 11 years ago

I recommend adding "use strict"; at the top of forms.js and site.js to enable strict mode, as it basically gives you some free automatic error checking on browsers that support it.

rossbruniges commented 11 years ago

I've considered this a number of times but this 'Browsers not supporting strict mode will run strict mode code with different behavior from browsers that do' makes my bones shiver...