Changeset 3883:3e89d87ed9bd for build-tools
- Timestamp:
- 09/19/18 10:22:06 (7 years ago)
- Branch:
- default
- Location:
- build-tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
build-tools/Minifier.php
r3882 r3883 481 481 // block below. 482 482 case "\n": 483 throw new \RuntimeException('Unclosed string at position: ' . $startpos); 483 if ($stringType !== '`') { 484 throw new \RuntimeException('Unclosed string at position: ' . $startpos); 485 } else { 486 echo $this->a; 487 } 484 488 break; 485 489 -
build-tools/min-js.php
r3877 r3883 28 28 fclose($fp); 29 29 } catch (Exception $e) { 30 fwrite(STDERR, $e->getMessage() . "\n");30 fwrite(STDERR, $e->getMessage() . ($js ? "($js)" : '') . "\n"); 31 31 exit(1); 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.