angular.js
angular.js copied to clipboard
jqLite text() function has different behavior then jquery text() function
angular.element('<div></div>').text(undefined)
is returning empty string ("")
$('<div></div>').text(undefined)
is returning DOM object (Object[div])
Tested version: 1.3.15
This actually affects way more APIs than just .text(). We'd have to review them all & update.
Since we're reaching feature freeze, this is a won't fix at this point. Sorry!