Skip to content

Commit 20646c0

Browse files
committed
Fixed target option
1 parent 201c3fe commit 20646c0

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

App/containers/OptionsContainer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ const STRING_ARRAY_ENCODING_OPTIONS = [
2727
];
2828

2929
export const TARGET_BROWSER = 'browser';
30-
export const TARGET_EXTENSION = 'extension';
30+
export const TARGET_BROWSER_NO_EVAL = 'browser-no-eval';
3131
export const TARGET_NODE = 'node';
3232

3333
const TARGET_OPTIONS = [
3434
{text: 'Browser', value: TARGET_BROWSER},
35-
{text: 'Extension', value: TARGET_EXTENSION},
35+
{text: 'Browser No Eval', value: TARGET_BROWSER_NO_EVAL},
3636
{text: 'Node', value: TARGET_NODE},
3737
];
3838

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "javascript-obfuscator-web",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "",
55
"main": "server.js",
66
"engines": {

templates/index.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,13 +443,10 @@ <h3>Sounds great!</h3>
443443
<td>
444444
<p>You can set the target environment of the obfuscated code to one of the following:</p>
445445
<ul>
446-
<li><strong>browser</strong></li>
447-
<li><strong>extension</strong></li>
448-
<li><strong>node</strong></li>
446+
<li><strong>Browser</strong></li>
447+
<li><strong>Browser No Eval</strong></li>
448+
<li><strong>Node</strong></li>
449449
</ul>
450-
<p>Use the <code>extension</code> target option if the obfuscated code will be used on a browser
451-
extension. Code obfuscated with this option does not use the <code>eval</code> JavaScript
452-
function.</p>
453450
<div class="ui tiny message">
454451
<p><i class="warning sign icon"></i>Currently the output of <code>browser</code> and <code>node</code>
455452
is identical.</p>

0 commit comments

Comments
 (0)