public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6f8d4
)
actually enable the option that drops unused names in the test of issue #12
author
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 08:41:48 +0000
(11:41 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 08:41:48 +0000
(11:41 +0300)
test/compress/issue-12.js
patch
|
blob
|
history
diff --git
a/test/compress/issue-12.js
b/test/compress/issue-12.js
index
711c79e
..
bf87d5c
100644
(file)
--- a/
test/compress/issue-12.js
+++ b/
test/compress/issue-12.js
@@
-1,9
+1,11
@@
keep_name_of_getter: {
+ options = { unused: true };
input: { a = { get foo () {} } }
expect: { a = { get foo () {} } }
}
keep_name_of_setter: {
+ options = { unused: true };
input: { a = { set foo () {} } }
expect: { a = { set foo () {} } }
}