card icon indicating copy to clipboard operation
card copied to clipboard

Semicolon missing from last line causing concatenation and minification issues

Open keyosk opened this issue 12 years ago • 6 comments

This line of your final built file is missing a semicolon : https://github.com/jessepollak/card/blob/master/lib/js/card.js#L846

I am including this file into an angular project which is being post processed by grunt, it is being concatenated and uglified. The file following this in the concatenation is having issues due to the lack of semi colon on the ending line.

Could you please look into ensuring that this is resolved?

Thanks.

keyosk avatar Aug 05 '14 20:08 keyosk

Hm, this was discussed earlier in #50. I'm just using the default browserify build process and I'm pretty sure I should just keep it that way.

jessepollak avatar Aug 06 '14 00:08 jessepollak

See this discussion as well.

jessepollak avatar Aug 06 '14 00:08 jessepollak

Hmm. Until this is resolved I'm going to have to treat your library as a special case. Include your library manually with semi colon inserted at the end of the file. This is the only library i'm including with bower that is posing this issue. Which is super unfortunate due to the fact that I'll effectively be version locked at 0.0.5.

keyosk avatar Aug 06 '14 00:08 keyosk

I was wrong about this. Building as standalone with browserify fixes the issue. Will be fixed in 0.0.6 which is about to be released.

Thanks for the heads up!

jessepollak avatar Aug 07 '14 01:08 jessepollak

Thank you so much for getting this fix in! I appreciate the fast investigation and turn around.

keyosk avatar Aug 07 '14 01:08 keyosk

No problem, should be live now in bower!

jessepollak avatar Aug 07 '14 01:08 jessepollak