grunt-console-clean
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "grunt-console-clean", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Plugin for grunt to clean up code from console object", | ||
@@ -5,0 +5,0 @@ "author": "Tomasz Czechowski", |
@@ -91,2 +91,3 @@ # grunt-console-clean | ||
## Release History | ||
* 2015-07-14 v0.3.1 Fixed bug with "allows" option. | ||
* 2015-07-14 v0.3.0 Added cleaning objects "window.console". | ||
@@ -93,0 +94,0 @@ * 2015-07-13 v0.2.1 Added "strategy" option. |
@@ -31,5 +31,5 @@ /* | ||
if ( | ||
if ( | ||
!options.hasOwnProperty('allows') || | ||
('allows' in options && options.allows.indexOf(m[1]) === -1) | ||
('allows' in options && options.allows.indexOf(m[2]) === -1) | ||
){ | ||
@@ -36,0 +36,0 @@ |
12935
109