Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/@babel/generator/lib/generators/statements.js

    r0c6b92a r79a0317  
    207207  this.space();
    208208  this.tokenChar(123);
    209   this.printSequence(node.cases, {
    210     indent: true,
    211     addNewlines(leading, cas) {
    212       if (!leading && node.cases[node.cases.length - 1] === cas) return -1;
    213     }
     209  this.printSequence(node.cases, true, undefined, function addNewlines(leading, cas) {
     210    if (!leading && node.cases[node.cases.length - 1] === cas) return -1;
    214211  });
    215212  this.rightBrace(node);
     
    227224  if (node.consequent.length) {
    228225    this.newline();
    229     this.printSequence(node.consequent, {
    230       indent: true
    231     });
     226    this.printSequence(node.consequent, true);
    232227  }
    233228}
     
    260255    }
    261256  }
    262   this.printList(node.declarations, {
    263     separator: hasInits ? function (occurrenceCount) {
    264       this.token(",", false, occurrenceCount);
    265       this.newline();
    266     } : undefined,
    267     indent: node.declarations.length > 1 ? true : false
    268   });
     257  this.printList(node.declarations, undefined, undefined, node.declarations.length > 1, hasInits ? function (occurrenceCount) {
     258    this.token(",", false, occurrenceCount);
     259    this.newline();
     260  } : undefined);
    269261  if (isFor(parent)) {
    270262    if (isForStatement(parent)) {
Note: See TracChangeset for help on using the changeset viewer.