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

docs(guide/Running in Production): more Information on debugInfoEnabled(false) #16155

Closed
wants to merge 1 commit 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: #16154

@@ -16,10 +16,16 @@ and adds CSS classes to data-bound elements:
- As a result of `ngBind`, `ngBindHtml` or `{{...}}` interpolations, binding data and CSS class
`ng-binding` are attached to the corresponding element.

- Whenever a value is bound to an element, that element gains a data property, `$binding`, containing an
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 what the previous point refers to. I would argue that the exact name and value of the property don't need to be mentioned here.

- Where the compiler has created a new scope, the scope and either `ng-scope` or `ng-isolated-scope`
CSS class are attached to the corresponding element. These scope references can then be accessed via
`element.scope()` and `element.isolateScope()`.

- Placeholder comments for directives which affect the DOM will contain information about what directive
Copy link
Member

Choose a reason for hiding this comment

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

Let's change "for directives which affect the DOM" to "for structural directives".

@gkalpak gkalpak added this to the Backlog milestone Aug 8, 2017
…ed(false)

Added bullet mentioning that the placeholder comments are also affected.
@oBusk oBusk changed the title docs(guide/Running in Production): More Information on debugInfoEnabled(false) docs(guide/Running in Production): more Information on debugInfoEnabled(false) 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.

@gkalpak gkalpak closed this in 59a9c13 Aug 23, 2017
gkalpak pushed a commit that referenced this pull request Aug 23, 2017
Add bullet mentioning how placeholder comments are affected.

Closes #16155
@oBusk oBusk deleted the patch-2 branch August 23, 2017 16:04
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