We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do not throw syntax error
Throw "Uncaught SyntaxError: Invalid or unexpected token (at spectrum-icons-color.js:1:61)"
New lines is injected inside a single quote string literal
Inject in a page spectrum lib withdata-coral-icons-external equal to js:
data-coral-icons-external
js
<script src="/path/to/@adobe/coral-spectrum/dist/js/coral.min.js" data-coral-icons-external="js" defer></script> <link rel="stylesheet" href="/path/to/@adobe/coral-spectrum/dist/css/coral.min.css">
4.15.23
Sample code in Playground
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Do not throw syntax error
Actual Behavior
Throw "Uncaught SyntaxError: Invalid or unexpected token (at spectrum-icons-color.js:1:61)"
New lines is injected inside a single quote string literal
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Inject in a page spectrum lib with
data-coral-icons-external
equal tojs
:Browser name/version/os (ie Chrome Version 62.0.3202.94 (Official Build) (64-bit) MacOS)
Coral Spectrum version
4.15.23
Sample Code that illustrates the problem (use the Playground if possible)
Sample code in Playground
Screenshots (if applicable)
The text was updated successfully, but these errors were encountered: