public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72cb532
)
add test for issue #12
author
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 07:49:48 +0000
(10:49 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Fri, 12 Oct 2012 07:49:48 +0000
(10:49 +0300)
test/compress/issue-12.js
[new file with mode: 0644]
patch
|
blob
diff --git a/test/compress/issue-12.js
b/test/compress/issue-12.js
new file mode 100644
(file)
index 0000000..
711c79e
--- /dev/null
+++ b/
test/compress/issue-12.js
@@ -0,0
+1,9
@@
+keep_name_of_getter: {
+ input: { a = { get foo () {} } }
+ expect: { a = { get foo () {} } }
+}
+
+keep_name_of_setter: {
+ input: { a = { set foo () {} } }
+ expect: { a = { set foo () {} } }
+}