aboutsummaryrefslogtreecommitdiff
path: root/test/input/issue-1242/foo.es5
diff options
context:
space:
mode:
authorkzc <zaxxon2011@gmail.com>2016-07-29 21:27:30 -0400
committerRichard van Velzen <rvanvelzen1@gmail.com>2016-08-14 21:46:38 +0200
commitdcdcfe4d39e8769e8d7504f167610883e250d266 (patch)
tree08b67003fbcd8689dbfcdb970a37ff4f2be2aee4 /test/input/issue-1242/foo.es5
parent72306b9885dffcc206b6637a9c22e54fa54a168d (diff)
downloadtracifyjs-dcdcfe4d39e8769e8d7504f167610883e250d266.tar.gz
tracifyjs-dcdcfe4d39e8769e8d7504f167610883e250d266.zip
Add input file glob support to minify()
Diffstat (limited to 'test/input/issue-1242/foo.es5')
-rw-r--r--test/input/issue-1242/foo.es55
1 files changed, 5 insertions, 0 deletions
diff --git a/test/input/issue-1242/foo.es5 b/test/input/issue-1242/foo.es5
new file mode 100644
index 00000000..4b439075
--- /dev/null
+++ b/test/input/issue-1242/foo.es5
@@ -0,0 +1,5 @@
+var print = console.log.bind(console);
+function foo(x) {
+ var twice = x * 2;
+ print('Foo:', twice);
+}