Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

doc(injector): adds strictDi documentation to appropriate methods. #10180

Closed
wants to merge 1 commit into from

Conversation

rkirov
Copy link
Contributor

@rkirov rkirov commented Nov 22, 2014

Closes #9624

@googlebot
Copy link

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
Copy link
Contributor

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".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@jeffbcross
Copy link
Contributor

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.
Copy link
Contributor

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

@btford
Copy link
Contributor

btford commented Nov 22, 2014

Left a comment. Other than that, LGTM.

@btford btford added this to the 1.3.5 milestone Nov 22, 2014
@googlebot
Copy link

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.

@googlebot
Copy link

CLAs look good, thanks!

@rkirov rkirov closed this Nov 22, 2014
@IgorMinar IgorMinar modified the milestones: ng-fixit #1, 1.3.5 Nov 24, 2014
@petebacondarwin petebacondarwin deleted the strictDiDocs branch September 15, 2015 12:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add strictDI to the docs
5 participants