angular-wysiwyg icon indicating copy to clipboard operation
angular-wysiwyg copied to clipboard

Adding array notation for proper minification

Open kevinbuffington opened this issue 10 years ago • 3 comments

I ran into an issue where we installed angular-wysiwyg using bower, but our grunt compile task (taken from Josh Miller's ngbp) was not minifying this file, meaning that the uglify was breaking our app. We didn't want to run ng-Annotate on all of our vendor files because that takes a lot of time when it's not normally needed, so I figured adding the array notation to this project would be the simplest solution and hopefully save others the same headache.

kevinbuffington avatar Mar 05 '15 20:03 kevinbuffington

I see that there is min version in dist folder, but It could be nice to add modifications of this PR in the non min file

mgohin avatar Mar 30 '15 12:03 mgohin

Thanks for the notice. We have 1.1.6 installed here and there was no minified version in the install.

kevinbuffington avatar Mar 30 '15 14:03 kevinbuffington

I'm sorry guys, I made a bunch of code changes right after this pull request and I accidentally left this out. I will add it back. Sorry about that!

TerryMooreII avatar Mar 31 '15 11:03 TerryMooreII