nzakas / props2js

Tool to convert Java properties files into JavaScript
Other
95 stars 17 forks source link

New Pretty printing feature #3

Open linuxras opened 11 years ago

linuxras commented 11 years ago

Hi Nicholas,

First I would like to say thanks for making this program it was almost perfect for my needs.

I have however added a couple of features so it can do pretty prinnting { "var":"value", "var2":"value2", "vararray": [ 'val1', ... ] } vs { "var":"value", "var2":"value2", "vararray": [ 'val1','etc...']}

The second is to be able to disable the unicode escaping of HTML entities such as <>

I have marked this version 0.1.1

Please accept these changes.

Thanks!!!

nzakas commented 11 years ago

Thanks for the pull request. Can you please add some tests to check your new functionality?

linuxras commented 11 years ago

Hi Nicholas, I have added some unit testing for the new features as requested.