[Pkg-javascript-commits] [dojo] 13/23: fix native FormData feature detection on ios6, fixes #16022

David Prévot taffit at moszumanska.debian.org
Sun Sep 14 16:23:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.9.4
in repository dojo.

commit 0527182f1b25b2fc17ea3e192b80b0127641319c
Author: Patrick Ruzand <pruzand at gmail.com>
Date:   Wed May 7 23:35:54 2014 +0200

    fix native FormData feature detection on ios6, fixes #16022
    
    (cherry picked from commit 4025957b32fef86cd92ad3adba4539ec544ce9e7)
---
 request/xhr.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/request/xhr.js b/request/xhr.js
index 647c2ec..36239ea 100644
--- a/request/xhr.js
+++ b/request/xhr.js
@@ -24,7 +24,7 @@ define([
 
 	has.add('native-formdata', function(){
 		// if true, the environment has a native FormData implementation
-		return typeof FormData === 'function';
+		return typeof FormData !== 'undefined';
 	});
 
 	function handleResponse(response, error){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list