Browse Source

Explicitly pass window as global context if it is available

This helps with Browserify / webpack integration see #167
pull/172/head
Rob Dupuis 10 years ago
parent
commit
7709cb5d07
  1. 2
      papaparse.js

2
papaparse.js

@ -1334,4 +1334,4 @@ @@ -1334,4 +1334,4 @@
{
return typeof func === 'function';
}
})(this);
})(typeof window !== 'undefined' ? window : this);

Loading…
Cancel
Save