You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(jqLite): document that append doesn't work well with a multi-node object
Contrary to jQuery jqLite's append doesn't clone elements so will not work
correctly when invoked on a jqLite object containing more than one DOM node.
Refs angular#11446Closesangular#16517
Copy file name to clipboardExpand all lines: src/jqLite.js
+2-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@
54
54
*
55
55
* - [`addClass()`](http://api.jquery.com/addClass/) - Does not support a function as first argument
56
56
* - [`after()`](http://api.jquery.com/after/)
57
-
* - [`append()`](http://api.jquery.com/append/)
57
+
* - [`append()`](http://api.jquery.com/append/) - Contrary to jQuery, this doesn't clone elements
58
+
* so will not work correctly when invoked on a jqLite object containing more than one DOM node
58
59
* - [`attr()`](http://api.jquery.com/attr/) - Does not support functions as parameters
59
60
* - [`bind()`](http://api.jquery.com/bind/) (_deprecated_, use [`on()`](http://api.jquery.com/on/)) - Does not support namespaces, selectors or eventData
60
61
* - [`children()`](http://api.jquery.com/children/) - Does not support selectors
0 commit comments