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

v1 #10

Closed
wants to merge 2 commits into from
Closed

v1 #10

wants to merge 2 commits into from

Conversation

pivanov
Copy link
Owner

@pivanov pivanov commented Oct 10, 2024

No description provided.

src/index.ts Outdated
@@ -122,6 +122,8 @@ const svgSpritePlugin = (options: SvgSpritePluginOptions): Plugin => {
}));

const style = 'position:absolute;width:0;height:0;';
const s=1''s;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like there is a syntax error with the declaration const s=1''s;. The double single quotes are not valid syntax in JavaScript.

src/index.ts Outdated
@@ -122,6 +122,8 @@
}));

const style = 'position:absolute;width:0;height:0;';
const s=1''s;
const s1 = 1''s;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The declaration const s1 = 1''s; also contains a syntax error with the double single quotes. Additionally, the variable s1 is declared but not used anywhere, which could lead to unnecessary code bloat.

@pivanov pivanov closed this Oct 10, 2024
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

Successfully merging this pull request may close these issues.

1 participant