Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Guard FormData for IE9
Browse files Browse the repository at this point in the history
Since old IE does not have FormData we need to not even try to wrap
it.

Fixes #508
  • Loading branch information
arv committed Sep 17, 2014
1 parent b5abcf1 commit 3f6e421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wrappers/FormData.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
var unwrap = scope.unwrap;

var OriginalFormData = window.FormData;
if (!OriginalFormData) return;

function FormData(formElement) {
var impl;
Expand Down

0 comments on commit 3f6e421

Please sign in to comment.