Skip to content

Commit fbfe206

Browse files
committed
consistent function style
1 parent a485103 commit fbfe206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Compilation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ function byId(a, b) {
3232
return 0;
3333
}
3434

35-
const byIndex = (a, b) => {
35+
function byIndex(a, b) {
3636
if(a.index < b.index) return -1;
3737
if(a.index > b.index) return 1;
3838
return 0;
39-
};
39+
}
4040

4141
function iterationBlockVariable(variables, fn) {
4242
for(let indexVariable = 0; indexVariable < variables.length; indexVariable++) {

0 commit comments

Comments
 (0)