src/pages/Log/Script/jsmin.js
/* m -- Copy the input to the output, deleting the characters which are
  insignificant to JavaScript. Comments will be removed. Tabs will be
  replaced with spaces. Carriage returns will be replaced with
  linefeeds.
  Most spaces and linefeeds will be removed.
  */
- Copy the input to the output, deleting the characters which are
insignificant to JavaScript. Comments will be removed. Tabs will be
replaced with spaces. Carriage returns will be replaced with
linefeeds.
Most spaces and linefeeds will be removed.
- Copy the input to the output deleting the characters which are insignificant to JavaScript . Comments will be removed . Tabs will be replaced with spaces . Carriage returns will be replaced with linefeeds . Most spaces and linefeeds will be removed .
function m() {
    const r = [];
    a = '';
    r.push(action(3));
    while (a != EOF) {
      switch (a) {
        case ' ':
          if (isAlphanum(b)) {
            r.push(action(1));
          } else {
            r.push(action(2));
          }
          break;
        case '\n':
          switch (b) {
            case '{':
            case '[':
            case '(':
            case '+':
            case '-':
              r.push(action(1));
              break;
            case ' ':
              r.push(action(3));
              break;
            default:
              if (isAlphanum(b)) {
                r.push(action(1));
              } else if (level == 1 && b != '\n') {
                r.push(action(1));
              } else {
                r.push(action(2));
              }
          }
          break;
        default:
          switch (b) {
            case ' ':
              if (isAlphanum(a)) {
                r.push(action(1));
                break;
              }
              r.push(action(3));
              break;
            case '\n':
              if (level == 1 && a != '\n') {
                r.push(action(1));
              } else {
                switch (a) {
                  case '}':
                  case ']':
                  case ')':
                  case '+':
                  case '-':
                  case '"':
                  case "'":
                    if (level == 3) {
                      r.push(action(3));
                    } else {
                      r.push(action(1));
                    }
                    break;
                  default:
                    if (isAlphanum(a)) {
                      r.push(action(1));
                    } else {
                      r.push(action(3));
                    }
                }
              }
              break;
            default:
              r.push(action(1));
              break;
          }
      }
    }
    return r.join('');
  }
function m ( ) { const r = [ ] ; a = '' ; r . push ( action ( 3 ) ) ; while ( a != EOF ) { switch ( a ) { case ' ' : if ( isAlphanum ( b ) ) { r . push ( action ( 1 ) ) ; } else { r . push ( action ( 2 ) ) ; } break ; case '\n' : switch ( b ) { case '{' : case '[' : case '(' : case '+' : case '-' : r . push ( action ( 1 ) ) ; break ; case ' ' : r . push ( action ( 3 ) ) ; break ; default : if ( isAlphanum ( b ) ) { r . push ( action ( 1 ) ) ; } else if ( level == 1 && b != '\n' ) { r . push ( action ( 1 ) ) ; } else { r . push ( action ( 2 ) ) ; } } break ; default : switch ( b ) { case ' ' : if ( isAlphanum ( a ) ) { r . push ( action ( 1 ) ) ; break ; } r . push ( action ( 3 ) ) ; break ; case '\n' : if ( level == 1 && a != '\n' ) { r . push ( action ( 1 ) ) ; } else { switch ( a ) { case '}' : case ']' : case ')' : case '+' : case '-' : case '"' : case "'" : if ( level == 3 ) { r . push ( action ( 3 ) ) ; } else { r . push ( action ( 1 ) ) ; } break ; default : if ( isAlphanum ( a ) ) { r . push ( action ( 1 ) ) ; } else { r . push ( action ( 3 ) ) ; } } } break ; default : r . push ( action ( 1 ) ) ; break ; } } } return r . join ( '' ) ; }
m -- Copy the input to the output, deleting the characters which are
insignificant to JavaScript.
m -- Copy the input to the output deleting the characters which are insignificant to JavaScript .