Created
March 21, 2013 15:59
-
-
Save brettcvz/5214183 to your computer and use it in GitHub Desktop.
Revisions
-
brettcvz renamed this gist
Mar 21, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
brettcvz created this gist
Mar 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ <!-- Add this just before the </head> tag --> <script type="text/javascript"> $(function() { //Put your Filepicker.io API key here: filepicker.setKey('A9gfeq0CMTMeP1dR86vcxz'); $('a').click(function(e) { e.preventDefault(); // This keeps the normal link // behavior from happening filepicker.pickAndStore({},{location: 's3'}, function(fpfiles){ console.log(fpfiles); }); }); }); </script>