pdf.js/test/unit
Ophir LOJKINE 4a66eccedc Rewrite Lexer_getNumber.
Now, it computes the numbers with only basic arithmetic operations, without first creating a string and then calling parseFloat.
The new function doesn't behave exactly the same as the old one.
In particular, the old behaviour was that when there was a number immediatly followed by an 'E', the 'E' was consumed. Now it's not. It allows for "glued" numbers and operators.
Also, the new function is faster and consumes less memory.
2014-02-01 21:46:09 +01:00
..
api_spec.js Introduces LegacyPromise; polyfills DOM Promise 2014-01-03 18:17:05 -06:00
cmap_spec.js Read multi-byte character codes based on codespace ranges. 2013-09-25 10:32:04 -07:00
crypto_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
evaluator_spec.js Extracts evaluator preprocessor and refactor text extraction 2014-01-17 07:16:52 -06:00
font_spec.js Fixes incorrect unit test 2013-05-16 12:15:01 -05:00
function_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
metadata_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
obj_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
parser_spec.js Rewrite Lexer_getNumber. 2014-02-01 21:46:09 +01:00
stream_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
testreporter.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
unit_test.html Basic function.js split 2014-01-27 20:29:47 -06:00
util_spec.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00