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 characters
*.swp | |
*.class | |
*.war | |
*.log | |
*.desktop | |
manual/ | |
rollbackBackupDirectory | |
workbench/ | |
uninstall |
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 characters
function sendSigning() { | |
var xhr = new XMLHttpRequest(); | |
// Install progress bar / Upload status update | |
xhr.upload.addEventListener( 'progress', function(e) { | |
if ( e.lengthComputable ) { | |
var percentage = Math.round( (e.loaded *100) /e.total ); | |
$('div#log').text( "Upload Status: " + percentage + "%"); | |
} | |
}); |
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 characters
(function($, window, undefined) { | |
$.widget("mobile.instantsearch", $.mobile.widget, { | |
si: undefined, //search inupt | |
rd: undefined, //result div | |
timeout: undefined, | |
options: { | |
delay: 500 | |
}, | |
_init: function() { | |
this.rd= $("<div>"); |
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 characters
// force certain pages to be refreshed every time. mark such pages with | |
// 'data-cache="never"' | |
// | |
jQuery('div').live('pagehide', function(event, ui){ | |
var page = jQuery(event.target); | |
if(page.attr('data-cache') == 'never'){ | |
page.remove(); | |
}; | |
}); |