#27 new
Murad

sprocketize remove all characters after empty multiple-line comments

Reported by Murad | February 16th, 2011 @ 12:33 PM

Hello!

sprocketize remove all characters after empty multiple-line comments.

For example:
test.source.js

function func(

/*foo*/ foo,
/**/bar,
/* baz */ /* baz */ baz,
// Skip a line just to screw with the regex...
/* thud */ thud) {};

sprocketize test.source.js > test.js
test.js

function func(

/*foo*/ foo,
/* baz */ /* baz */ baz,
/* thud */ thud) {};

string, contains "/**/bar," was be removed!

This is a bug or a feature?

Best regards,
Murad.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

JavaScript dependency management and concatenation
<a href="http://getsprockets.org/">http://getsprockets.org/</a>

People watching this ticket

Pages