Consider using strict mode in JS files #51

Open
toolness opened this Issue Nov 29, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@toolness
Contributor

toolness commented Nov 29, 2012

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

This comment has been minimized.

Show comment Hide comment
@rossbruniges

rossbruniges Nov 30, 2012

Member

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...

Member

rossbruniges commented Nov 30, 2012

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment