Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript line continuations in strings causes errors #8

Open
shaicoleman opened this issue Nov 27, 2009 · 1 comment
Open

Javascript line continuations in strings causes errors #8

shaicoleman opened this issue Nov 27, 2009 · 1 comment

Comments

@shaicoleman
Copy link

vendor/plugins/asset_packager/lib/jsmin.rb:113:in `action': Unterminated string literal (RuntimeError)
    from vendor/plugins/asset_packager/lib/jsmin.rb:195:in `jsmin'
    from vendor/plugins/asset_packager/lib/jsmin.rb:205

Which is caused by code such as:
styleSheet.addRule(
'.typeface-js-selected-text',
'-ms-filter:
"Chroma(color=black)
progid:DXImageTransform.Microsoft.MaskFilter(Color=white)
progid:DXImageTransform.Microsoft.MaskFilter(Color=blue)
alpha(opacity=30)" !important;
color: black;
font-family: Modern;
position: absolute;
white-space: pre;
filter: alpha(opacity=0);'
);

@cainlevy
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants