Skip to content

Commit aa0b249

Browse files
Dominator008marijnh
authored andcommitted
[properties mode] Use empty block instead of empty statement
This eliminates a warning from Closure Compiler.
1 parent c3d2246 commit aa0b249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/properties/properties.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CodeMirror.defineMode("properties", function() {
3434
}
3535

3636
if (sol) {
37-
while(stream.eatSpace());
37+
while(stream.eatSpace()) {}
3838
}
3939

4040
var ch = stream.next();

0 commit comments

Comments
 (0)