SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 94 JavaScript

fix($parse): mark constant unary minus expressions as constant

Previously, constant numbers with a unary minus sign were not treated as constants. This fix corrects
this behaviour, and may provide a small performance boost for certain applications, due to constant
watches being automatically unregistered after their first listener call.

Closes #6932
T
Tero Parviainen committed
7914d3463b5ec560c616a0c9fd008bc0e3f7c786
Parent: 10110bc
Committed by Caitlin Potter <caitpotter88@gmail.com> on 4/2/2014, 2:05:45 PM