fix(ngAnimate): properly handle empty jqLite collections
Previously `stripCommentsFromElement()` would return an empty Array (instead of a jqLite collection) which would cause an exception to be thrown: "element.parent not a function". This commit fixes it, by ensuring that the returned value is always a jqLite collection. Closes #14558 Closes #14559
M
Maksim Ryzhikov committed
fdaf4d5e27a2ddebf2999db4d35bef7915d32c86
Parent: 1c47abc
Committed by Georgios Kalpakas <g.kalpakas@hotmail.com>
on 5/6/2016, 2:14:32 PM