News for hackers. Stuff that matters.
Re:Show HN: Beautify-with-words unminifies JS with unique wo... by marquis on Monday January 27, 2014 @02:14PM (#7132428)
Often with AngularJS, after minification, you find you've not properly injected a service or something and looking for a missing 'a' is near impossible. This would be really useful to hunting that down. Would make a great post-min debug Grunt module.
Re:Show HN: Beautify-with-words unminifies JS with unique wo... by joshuacc on Monday January 27, 2014 @03:56PM (#7133166)
You might find ngmin[1] helpful for that. Then you can use the shorter injection syntax and have it expanded via a compilation step. Since you mentioned Grunt, you'd probably want to just use grunt-ngmin[2].

[1] https://github.com/btford/ngmin

[2] https://github.com/btford/grunt-ngmin

Re:Show HN: Beautify-with-words unminifies JS with unique wo... by marquis on Monday January 27, 2014 @04:02PM (#7133198)
How I never found that.. thanks! That is going to save us a world of pain in debugging.
Re:Show HN: Beautify-with-words unminifies JS with unique wo... by joshuacc on Tuesday January 28, 2014 @09:33AM (#7137216)
Glad to help!
Re:Show HN: Beautify-with-words unminifies JS with unique wo... by catshirt on Monday January 27, 2014 @03:52PM (#7133139)
source maps seem more suitable for the job