Skip to content

Commit

Permalink
Fix global Papa var name
Browse files Browse the repository at this point in the history
That was a really bad slip.
  • Loading branch information
IceOnFire committed Apr 19, 2016
1 parent b576922 commit fbf2286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion papaparse.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@
else
{
// Browser globals (root is window)
root.returnExports = factory();
root.Papa = factory();
}
}(this, function()
{
'use strict';

var global = Function('return this')();
var IS_WORKER = !global.document && !!global.postMessage,
IS_PAPA_WORKER = IS_WORKER && /(\?|&)papaworker(=|&|$)/.test(global.location.search),
LOADED_SYNC = false, AUTO_SCRIPT_PATH;
Expand Down
Loading

0 comments on commit fbf2286

Please sign in to comment.