Merge branch 'master' into 3.0.0

This commit is contained in:
Sebastian McKenzie 2015-01-23 07:12:28 +11:00
commit 5815b17dee
2 changed files with 15 additions and 1 deletions

View File

@ -64,7 +64,10 @@ test-browser:
node $(BROWSERIFY_CMD) -e test/_browser.js >dist/6to5-test.js node $(BROWSERIFY_CMD) -e test/_browser.js >dist/6to5-test.js
rm -rf templates.json tests.json rm -rf templates.json tests.json
test -n "`which open`" && open test/browser.html if [ -n $$BROWSER ]; then $$BROWSER test/browser.html; \
elif which xdg-open > /dev/null; then xdg-open 'test/browser.html'; \
elif which gnome-open > /dev/null; then gnome-open 'test/browser.html'; \
elif which open > /dev/null; then open 'test/browser.html'; fi \
publish: publish:
git pull --rebase git pull --rebase

View File

@ -0,0 +1,11 @@
if (true) {
const x = 1;
switch (x) {
case 1: {
function y() {
assert(x, 1);
};
break;
}
}
}