Quantcast
Channel: johnculviner.com » 2013
Viewing all articles
Browse latest Browse all 8

jQuery File Download v1.4.0 released with promise support

$
0
0

I’ve been neglecting jquery.fileDownload.js a little bit while working on my Durandal.js and FluentKnockoutHelpers demo but since that’s mostly wrapped up I have merged some pulls and added promise support to jQuery File Download. Promises make using the plugin a whole lot cleaner. If you haven’t used them yet start to they are awesome! Enjoy!

As usual the source can be obtained here:

https://github.com/johnculviner/jquery.fileDownload

A short example of what you can now do:

$.fileDownload('some/file/url')
    .done(function () { alert('File download a success!'); })
    .fail(function () { alert('File download failed!'); });

 


Viewing all articles
Browse latest Browse all 8

Trending Articles