From c90abf057b0370cf5beb62aa960f1df008c802ef Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Sun, 13 Feb 2011 16:13:21 -0800 Subject: Changed the angular.compile(element)(scope[, cloneAttachNode]) --- docs/angular.element.ngdoc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'docs/angular.element.ngdoc') diff --git a/docs/angular.element.ngdoc b/docs/angular.element.ngdoc index 83680d1f..2ce007fd 100644 --- a/docs/angular.element.ngdoc +++ b/docs/angular.element.ngdoc @@ -44,10 +44,6 @@ raw DOM references. version: - `scope()` - retrieves the current angular scope of the element. -- `cloneNode()` - Clones the current node, ensuring identical structure. This is important since - the `clone()` method implemented by jQuery under some circumstances changes the DOM - structure, which then prevents proper application of compiled template to the cloned node. - __Always use `cloneNode()` when cloning previously compiled templates.__ @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery. @returns {Object} jQuery object. -- cgit v1.2.3