Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated readme.

  • Loading branch information...
commit e85d0320a726b31cef6f27f1e3aafa55d7cb6266 1 parent 40ebf86
@micmath authored
Showing with 13 additions and 1 deletion.
  1. +13 −1 README.md
View
14 README.md
@@ -1,4 +1,16 @@
grunt-lenient
=============
-A grunt plugin to remove "use strict" directives from JavaScript source code.
+A grunt plugin to remove "use strict" directives from JavaScript source code.
+
+Installation
+============
+
+ npm install grunt-lenient
+
+Why You Shouldn't Use This (or Maybe You Should)
+==========================
+
+If you don't understand the [effects and implications](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Functions_and_function_scope/Strict_mode#Changes_in_strict_mode) of _adding_ ["use strict"](http://ecma262-5.com/ELS5_HTML.htm#Section_4.2.2) to your source code, you probably shouldn't. If you don't understand why you would consider _removing_ "use strict" from your source code as part of a build process, you probably shouldn't.
+
+One use case would be to automate testing of your code before it goes into production, to learn how it will behave in all those [browsers that don't support strict mode](http://caniuse.com/use-strict). Other reasons to use or not use this are up to you, but I have discussed some of the [points to consider elsewhere](http://scriptogr.am/micmath/post/should-you-use-strict-in-your-production-javascript).
Please sign in to comment.
Something went wrong with that request. Please try again.