-
Notifications
You must be signed in to change notification settings - Fork 87
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
Adds some missing requires for annotations #2832
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but are the @suppress {extraRequire}
really necessary ?
Yes ... |
@@ -3,6 +3,8 @@ goog.provide('gmf.Permalink'); | |||
goog.require('gmf'); | |||
goog.require('ngeo'); | |||
goog.require('ngeo.AutoProjection'); | |||
/** @suppress {extraRequire} */ | |||
goog.require('gmf.ObjectEditingManager'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally you should not require gmf.ObjectEditingManager
here since it is an optionnal dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-) then where, If I add it in the gmf.js, it's a requirement for all the module...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me it's an issue of closure-utils ...
Required by c2cgeoportal build on Docker
4193139
to
809b95c
Compare
Required by c2cgeoportal build on Docker