"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/src/javascript/tokenizer.js" between
js-beautify-1.13.13.tar.gz and js-beautify-1.14.0.tar.gz

About: JS Beautifier is a JavaScript (and bookmarket) beautifier.

tokenizer.js  (js-beautify-1.13.13):tokenizer.js  (js-beautify-1.14.0)
skipping to change at line 66 skipping to change at line 66
COMMENT: 'TK_COMMENT', COMMENT: 'TK_COMMENT',
DOT: 'TK_DOT', DOT: 'TK_DOT',
UNKNOWN: 'TK_UNKNOWN', UNKNOWN: 'TK_UNKNOWN',
START: BASETOKEN.START, START: BASETOKEN.START,
RAW: BASETOKEN.RAW, RAW: BASETOKEN.RAW,
EOF: BASETOKEN.EOF EOF: BASETOKEN.EOF
}; };
var directives_core = new Directives(/\/\*/, /\*\//); var directives_core = new Directives(/\/\*/, /\*\//);
var number_pattern = /0[xX][0123456789abcdefABCDEF]*|0[oO][01234567]*|0[bB][01]* |\d+n|(?:\.\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?/; var number_pattern = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB ][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/;
var digit = /[0-9]/; var digit = /[0-9]/;
// Dot "." must be distinguished from "..." and decimal // Dot "." must be distinguished from "..." and decimal
var dot_pattern = /[^\d\.]/; var dot_pattern = /[^\d\.]/;
var positionable_operators = ( var positionable_operators = (
">>> === !== " + ">>> === !== " +
"<< && >= ** != == <= >> || ?? |> " + "<< && >= ** != == <= >> || ?? |> " +
"< / - + > : & % ? ^ | *").split(' '); "< / - + > : & % ? ^ | *").split(' ');
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)