Browse Source

Exposing some internal functions for testing purposes

pull/62/head
Matthew Holt 11 years ago
parent
commit
beb80a9a69
  1. 6
      papaparse.js

6
papaparse.js

@ -35,6 +35,12 @@
global.Papa.BAD_DELIMITERS = ["\r", "\n", "\"", global.Papa.BYTE_ORDER_MARK]; global.Papa.BAD_DELIMITERS = ["\r", "\n", "\"", global.Papa.BYTE_ORDER_MARK];
global.Papa.WORKERS_SUPPORTED = !!global.Worker; global.Papa.WORKERS_SUPPORTED = !!global.Worker;
// Exposed for testing and development only
global.Papa.Parser = Parser;
global.Papa.ParserHandle = ParserHandle;
global.Papa.NetworkStreamer = NetworkStreamer;
global.Papa.FileStreamer = FileStreamer;
if (global.jQuery) if (global.jQuery)
{ {
var $ = global.jQuery; var $ = global.jQuery;

Loading…
Cancel
Save