Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// API
setSignaturePromise: function(promiseGen, alg) { = promiseGen;
// TODO: Detect QZ version, warn = alg;
// Implementation {
return function(resolve, reject) {
$.ajax("/secure/url/for/sign-message?request=" + toSign + "&alg=", reject);
}, 'sha1');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.