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

Commit

Permalink
docs(jqLite): clarify that Debug Data must be enabled for scope/isola…
Browse files Browse the repository at this point in the history
…teScope methods

Closes #9515
Closes #10123
  • Loading branch information
Toilal authored and Trendy committed Jan 10, 2015
1 parent 7d4eefa commit dbbe6b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jqLite.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@
* `'ngModel'`).
* - `injector()` - retrieves the injector of the current element or its parent.
* - `scope()` - retrieves the {@link ng.$rootScope.Scope scope} of the current
* element or its parent.
* element or its parent. Requires {@link guide/production#disabling-debug-data Debug Data} to
* be enabled.
* - `isolateScope()` - retrieves an isolate {@link ng.$rootScope.Scope scope} if one is attached directly to the
* current element. This getter should be used only on elements that contain a directive which starts a new isolate
* scope. Calling `scope()` on this element always returns the original non-isolate scope.
* Requires {@link guide/production#disabling-debug-data Debug Data} to be enabled.
* - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top
* parent element is reached.
*
Expand Down

0 comments on commit dbbe6b3

Please sign in to comment.