SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

perf(jqLite): implement and use the `empty` method in place of `html(‘’)`

jQuery's elem.html('') is way slower than elem.empty(). As clearing
element contents happens quite often in certain scenarios, switching
to using .empty() provides a significant performance boost when using
Angular with jQuery.

Closes #4457
M
Michał Gołębiowski committed
3410f65e790a81d457b4f4601a1e760a6f8ede5e
Parent: f3de5b6
Committed by Igor Minar <igor@angularjs.org> on 12/13/2013, 10:07:11 AM