From ebd7ebb88a32aacb905a106ed519a82eb87e1723 Mon Sep 17 00:00:00 2001 From: Toilal Date: Wed, 19 Nov 2014 15:59:40 +0100 Subject: [PATCH] docs(jqLite): Debug Data must be enabled for scope/isolateScope methods Closes #9515 --- src/jqLite.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jqLite.js b/src/jqLite.js index 776fe6ffeafd..9670341bcba0 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -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. *