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

ignore Google Closure warnings #1

Open
stephanos opened this issue Dec 28, 2014 · 3 comments
Open

ignore Google Closure warnings #1

stephanos opened this issue Dec 28, 2014 · 3 comments

Comments

@stephanos
Copy link

Hey there,

when I run 'lein minify-assets' I have a few warnings from Google Closure:

JSC_BAD_JSDOC_ANNOTATION. Parse error. illegal use of unknown JSDoc tag "internal"; ignoring it at resources/js/react.js line 4403 : 5
JSC_BAD_JSDOC_ANNOTATION. Parse error. illegal use of unknown JSDoc tag "providesModule"; ignoring it at resources/js/react.js line 4618 : 5
JSC_INVALID_PARAM. Parse error. invalid param name "forEachFunc." at resources/js/react.js line 4658 : 31
JSC_INVALID_PARAM. Parse error. invalid param name "mapFunction." at resources/js/react.js line 4718 : 31
JSC_BAD_JSDOC_ANNOTATION. Parse error. illegal use of unknown JSDoc tag "providesModule"; ignoring it at resources/js/react.js line 4766 : 5

Do you think you could add an option to silence those?

@yogthos
Copy link
Owner

yogthos commented Dec 28, 2014

That should be doable, I'd have to take a look what the option is.

@stephanos
Copy link
Author

Great! This old leiningen 1.x plugin might be a good inspiration: https://github.com/maravillas/lein-js :)

@yogthos
Copy link
Owner

yogthos commented Dec 28, 2014

Thanks, I'll take a look hopefully the Google Closure API hasn't changed too much in the meantime. :)

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