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

docs($compileProvider): more information on debugInfoEnabled #16154

Closed
wants to merge 2 commits into from
Closed

docs($compileProvider): more information on debugInfoEnabled #16154

wants to merge 2 commits into from

Conversation

oBusk
Copy link
Contributor

@oBusk oBusk commented Aug 8, 2017

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Improves documentation about what $compileProvider.debugInfoEnabled(true) does.

Other information:

Based on compile.js source code.

Please feel free to improve the wording or come with feedback.

Related: #16155

* * `$binding` data property containing an array of the binding expressions
* * `scope()` and `isolateScope()` allowing access to scope from DOM Element
Copy link
Member

@gkalpak gkalpak Aug 8, 2017

Choose a reason for hiding this comment

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

It doesn't add the methods. The methods are always present. It adds the $scope or $isolateScope (or $isolateScopeNoTemplate) data properties (that can be used by the .scope() and .isolateScope() methods).

@gkalpak gkalpak added this to the Backlog milestone Aug 8, 2017
Add more information about what `debugInfoEnabled` affects.
@oBusk oBusk changed the title docs($compileProvider): More information on debugInfoEnabled docs($compileProvider): more information on debugInfoEnabled Aug 23, 2017
@oBusk
Copy link
Contributor Author

oBusk commented Aug 23, 2017

@gkalpak I've ammended according to your comments. Thanks for the feedback.

* * `$binding` data property containing an array of the binding expressions
* * `$scope`, `$isolateScope` or `$isolateScopeNoTemplate` data properties which are accessable via the
Copy link
Member

Choose a reason for hiding this comment

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

This is too much implementation details imo. Please change to something like:

Data properties used by the {@link angular.element#methods scope()/isolateScope() methods} to return the element's scope.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is a very good point

Use wording with less implementation details, based on review feedback.
gkalpak pushed a commit that referenced this pull request Aug 23, 2017
Add more info on what `debugInfoEnabled()` affects.

Closes #16154
@gkalpak gkalpak closed this in 233a93f Aug 23, 2017
@oBusk oBusk deleted the patch-1 branch August 23, 2017 19:14
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.

3 participants