From 55f111eecd03f41316c5092c55b4043137d2e6e2 Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Fri, 22 Jan 2016 11:51:06 -0800 Subject: [PATCH] Destructuring, importing, and short objects Fixes #114 Fixes #315 Fixes #370 Fixes #382 --- README.md | 1 + index.html | 1 + js/lib/beautify.js | 83 ++++++--- .../generated/beautify-javascript-tests.js | 72 ++++++++ python/jsbeautifier/__init__.py | 79 ++++++--- python/jsbeautifier/tests/generated/tests.py | 69 ++++++++ test/data/javascript/tests.js | 160 +++++++++++++++++- 7 files changed, 417 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 76b62fb5..68947c63 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # JS Beautifier [![Build Status](https://img.shields.io/travis/beautify-web/js-beautify/master.svg)](http://travis-ci.org/beautify-web/js-beautify) +[![Build status](https://ci.appveyor.com/api/projects/status/5bxmpvew5n3e58te/branch/master?svg=true)](https://ci.appveyor.com/project/beautify-web/js-beautify/branch/master) [![NPM version](https://img.shields.io/npm/v/js-beautify.svg)](https://www.npmjs.com/package/js-beautify) [![Download stats](https://img.shields.io/npm/dm/js-beautify.svg)](https://www.npmjs.com/package/js-beautify) [![Join the chat at https://gitter.im/beautify-web/js-beautify](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/beautify-web/js-beautify?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) diff --git a/index.html b/index.html index 8644d024..dfba9074 100644 --- a/index.html +++ b/index.html @@ -356,6 +356,7 @@