From 3f6e421a9fe11227d602bef37bab23bbf5549c7a Mon Sep 17 00:00:00 2001 From: Erik Arvidsson Date: Wed, 17 Sep 2014 12:59:47 -0400 Subject: [PATCH] Guard FormData for IE9 Since old IE does not have FormData we need to not even try to wrap it. Fixes #508 --- src/wrappers/FormData.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wrappers/FormData.js b/src/wrappers/FormData.js index d283c3c..3082a20 100644 --- a/src/wrappers/FormData.js +++ b/src/wrappers/FormData.js @@ -12,6 +12,7 @@ var unwrap = scope.unwrap; var OriginalFormData = window.FormData; + if (!OriginalFormData) return; function FormData(formElement) { var impl;