Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
update client to perform crypto in a webworker
Browse files Browse the repository at this point in the history
  • Loading branch information
zaach committed Jan 8, 2013
1 parent d89f857 commit 3ccf396
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
Binary file added pages/common/img/spinner.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions pages/first_run/create_account.html
Expand Up @@ -98,8 +98,8 @@ <h2><img src="../common/img/gombot-logo-92x92.png" /> Create a Gombot account</h
<p class="small"> <p class="small">
By proceeding, you agree to Gombot's <a href="#">Terms</a> and <a href="#">Privacy Policy</a>. By proceeding, you agree to Gombot's <a href="#">Terms</a> and <a href="#">Privacy Policy</a>.
</p> </p>

<span class="progress-indicator"></span> <p><span class="progress-indicator"></span></p>


<p> <p>
<button class="button-blue">Sign up &raquo;</button><br /> <button class="button-blue">Sign up &raquo;</button><br />
Expand Down
5 changes: 2 additions & 3 deletions pages/first_run/create_account.js
@@ -1,6 +1,5 @@
$(document).ready(function() { $(document).ready(function() {
//var server = 'https://gombot.org'; var server = 'https://gombot.org';
var server = 'http://dev.tobmog.org';
var client = new GombotClient(server + '/api'); var client = new GombotClient(server + '/api');
var busy = false; var busy = false;


Expand Down Expand Up @@ -48,7 +47,7 @@ $(document).ready(function() {
var ProgressIndicator = (function() { var ProgressIndicator = (function() {
var indicatorImage = $('<img>') var indicatorImage = $('<img>')
.addClass('progress-indicator-image') .addClass('progress-indicator-image')
.attr('src', '/images/spinny.gif').get(0); .attr('src', '../common/img/spinner.gif').get(0);
return { return {
show: function() { show: function() {
if ($('.progress-indicator').has(indicatorImage).length == 0) { if ($('.progress-indicator').has(indicatorImage).length == 0) {
Expand Down
3 changes: 1 addition & 2 deletions pages/first_run/sign_in.js
@@ -1,6 +1,5 @@
$(document).ready(function() { $(document).ready(function() {
//var server = 'https://gombot.org'; var server = 'https://gombot.org';
var server = 'http://dev.tobmog.org';
var client = new GombotClient(server + '/api'); var client = new GombotClient(server + '/api');
var busy = false; var busy = false;


Expand Down
2 changes: 1 addition & 1 deletion server
Submodule server updated 5 files
+1 −0 bin/api
+1 −0 client/client.js
+37 −0 client/crypto.js
+43 −0 client/worker.js
+7 −1 lib/http_forward.js

0 comments on commit 3ccf396

Please sign in to comment.