Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion facepp-sdk.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,10 @@ class @FacePP
callback (response.error_code or -1), response
return

xhr.open 'POST', url, true

if 'timeout' of xhr
xhr.timeout = options.timeout
xhr.open 'POST', url, true

if hasBlob
form = new FormData
Expand Down
87 changes: 46 additions & 41 deletions facepp-sdk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions facepp-sdk.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.