microsoft / ajaxmin

The Microsoft Ajax Minifier enables you to improve the performance of your Ajax applications by reducing the size of your Cascading Style Sheet and JavaScript files.
https://www.nuget.org/packages/AjaxMin
MIT License
32 stars 21 forks source link

Computed property name brakes minifier... #10

Closed kepeter closed 3 years ago

kepeter commented 4 years ago

Hi, When I'm using computed property names to create object, the minified version is totally broken...

Original: `var i = 0; var a = {

['foo' + ++i]: i,
['foo' + ++i]: i

};`

Minified var i=0,a={}["foo"+ ++i];i;["foo"+ ++i];i;["foo"+ ++i];i

I'm using version 5.14.5506.26202 (latest for now)...

seankeating commented 3 years ago

This project is no longer being maintained.