From 43aa30a56e4f0748feaa319971308affec148e91 Mon Sep 17 00:00:00 2001 From: Tomasz Oponowicz Date: Wed, 9 Nov 2016 11:51:54 +0100 Subject: [PATCH 1/2] Fix examples --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6ccfd4e..4d71ac9 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,11 @@ grunt.initConfig({ options: { /* Default options */ }, - files: { - 'dist/obfuscated.js': ['src/module1.js', 'src/module2.js'] - }, + main: { + files: { + 'dist/obfuscated.js': ['src/module1.js', 'src/module2.js'] + } + } }, }); ``` @@ -73,9 +75,11 @@ grunt.initConfig({ debugProtection: true, debugProtectionInterval: true }, - files: { - 'dist/obfuscated.js': ['src/module1.js', 'src/module2.js'] - }, + main: { + files: { + 'dist/obfuscated.js': ['src/module1.js', 'src/module2.js'] + } + } }, }); ``` From c7fc5878c9ea307fa801e230fd46dbd6e34521a5 Mon Sep 17 00:00:00 2001 From: Tomasz Oponowicz Date: Wed, 9 Nov 2016 11:52:16 +0100 Subject: [PATCH 2/2] Bump version --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d71ac9..b9b69c0 100644 --- a/README.md +++ b/README.md @@ -89,5 +89,6 @@ In lieu of a formal styleguide, take care to maintain the existing coding style. ## Release History + * 2016-11-09 / v1.0.2 / Fixed examples. * 2016-11-09 / v1.0.1 / Relaxed peer dependencies. * 2016-11-08 / v1.0.0 / First release. diff --git a/package.json b/package.json index b29f737..173db72 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-javascript-obfuscator", "description": "Obfuscates JavaScript files using amazing javascript-obfuscator.", - "version": "1.0.1", + "version": "1.0.2", "main": "tasks/javascript_obfuscator.js", "files": ["tasks"], "homepage": "https://github.com/tomasz-oponowicz/grunt-javascript-obfuscator",