Skip to content

Commit 28c6c4d

Browse files
docs(jqlite): add known issue
Closes angular#14251
1 parent 791148a commit 28c6c4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jqLite.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114
* - `inheritedData()` - same as `data()`, but walks up the DOM until a value is found or the top
115115
* parent element is reached.
116116
*
117+
* @knownIssue You cannot spy on `angular.element` if you are using Jasmine version 1.x. See
118+
* https://github.com/angular/angular.js/issues/14251 for more information.
119+
*
117120
* @param {string|DOMElement} element HTML string or DOMElement to be wrapped into jQuery.
118121
* @returns {Object} jQuery object.
119122
*/

0 commit comments

Comments
 (0)