-
Notifications
You must be signed in to change notification settings - Fork 27.4k
doc(injector): adds strictDi documentation to appropriate methods. #10180
Conversation
CLAs look good, thanks Rado! |
@@ -159,7 +160,8 @@ function annotate(fn, strictDi, name) { | |||
* | |||
* In JavaScript calling `toString()` on a function returns the function definition. The definition | |||
* can then be parsed and the function arguments can be extracted. *NOTE:* This does not work with | |||
* minification, and obfuscation tools since these tools change the argument names. | |||
* minification, and obfuscation tools since these tools change the argument names. This method of |
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.
I would move the sentence before the "NOTE".
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.
done.
Couple of comments, otherwise LGTM! |
@@ -1332,7 +1332,7 @@ function angularInit(element, bootstrap) { | |||
* following keys are supported: | |||
* | |||
* - `strictDi`: disable automatic function annotation for the application. This is meant to | |||
* assist in finding bugs which break minified code. | |||
* assist in finding bugs which break minified code. Defaults to false. |
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.
Should include backticks for formatting: false
Left a comment. Other than that, LGTM. |
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
CLAs look good, thanks! |
Closes #9624