Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 437ba49

Browse files
committed
style(filters): squelch a closure compiler warning
Related #13932
1 parent 9a576fa commit 437ba49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/filter/filters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function parse(numStr) {
175175
}
176176

177177
// Count the number of leading zeros.
178-
for (i = 0; numStr.charAt(i) == ZERO_CHAR; i++);
178+
for (i = 0; numStr.charAt(i) == ZERO_CHAR; i++) {/* jshint noempty: false */}
179179

180180
if (i == (zeros = numStr.length)) {
181181
// The digits are all zero.

0 commit comments

Comments
 (0)