This repository was archived by the owner on Dec 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ const Options = ({dispatch, options}) =>
4242 checked = { options . mangle }
4343 onChange = { ( ) => dispatch ( actions . toggleOption ( types . TOGGLE_MANGLE ) ) } />
4444
45+ < Form . Checkbox
46+ label = 'Rename Globals'
47+ checked = { options . renameGlobals }
48+ onChange = { ( ) => dispatch ( actions . toggleOption ( types . TOGGLE_RENAME_GLOBALS ) ) } />
49+
4550 < Divider />
4651
4752 < Form . Checkbox
@@ -167,13 +172,6 @@ const Options = ({dispatch, options}) =>
167172 entries = { options . reservedNames }
168173 buttonIcon = "plus" />
169174
170- < Divider />
171-
172- < Form . Checkbox
173- label = 'Rename Globals'
174- checked = { options . renameGlobals }
175- onChange = { ( ) => dispatch ( actions . toggleOption ( types . TOGGLE_RENAME_GLOBALS ) ) } />
176-
177175 </ Segment >
178176 </ Grid . Column >
179177
Original file line number Diff line number Diff line change @@ -87,6 +87,16 @@ <h3>Sounds great!</h3>
8787 </ td >
8888 </ tr >
8989
90+ < tr >
91+ < td class ="collapsing "> Rename Globals</ td >
92+ < td >
93+ < div class ="ui tiny message ">
94+ < p > < i class ="warning sign icon "> </ i > This option can break your code. Only enable it if you know what it does.</ p >
95+ </ div >
96+ < p > Enables the obfuscation of global variables and function names with declaration.</ p >
97+ </ td >
98+ </ tr >
99+
90100 < tr >
91101 < td class ="collapsing "> Self Defending</ td >
92102 < td >
@@ -256,16 +266,6 @@ <h3>Sounds great!</h3>
256266 </ td >
257267 </ tr >
258268
259- < tr >
260- < td class ="collapsing "> Rename Globals</ td >
261- < td >
262- < div class ="ui tiny message ">
263- < p > < i class ="warning sign icon "> </ i > This option can break your code. Only enable it if you know what it does.</ p >
264- </ div >
265- < p > Enables the obfuscation of global variables and function names with declaration.</ p >
266- </ td >
267- </ tr >
268-
269269 < tr >
270270 < td class ="collapsing "> Source Map</ td >
271271 < td >
You can’t perform that action at this time.
0 commit comments