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

Strict mode: js_source_text is not defined [CSS] #1286

Closed
TremayneChrist opened this issue Nov 8, 2017 · 0 comments
Closed

Strict mode: js_source_text is not defined [CSS] #1286

TremayneChrist opened this issue Nov 8, 2017 · 0 comments

Comments

@TremayneChrist
Copy link
Contributor

Should this line not be source_text, rather than js_source_text?

https://github.com/beautify-web/js-beautify/blob/6b60339719c1491dce6eda8302f092accbf94ad6/js/src/css/beautifier.js#L199

When including beautify-css.js file as a module, which always defaults to strict mode, the following error will be thrown due to js_source_text not being defined.

Uncaught ReferenceError: js_source_text is not defined

This doesn't appear to be used anywhere and I can only assume it's a typo?..

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

No branches or pull requests

2 participants