Skip to content

Commit

Permalink
Undo negligible JS change to avoid rebundling
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfair committed Aug 15, 2014
1 parent cefc4f9 commit 9d4c93f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/pebble-js-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var QueueAppMessage = function(message) {
};

var AMQueueFail = function(txn) {
console.log("AM transmit failed: " + txn.data.error.message + ", continuing");
console.log("AM transmit failed: " + txn.error.message + ", continuing");
AMTransmitQueue();
};

Expand Down Expand Up @@ -134,4 +134,4 @@ Pebble.addEventListener("webviewclosed", function(e) {
});

// slightly modified atob implementation from https://github.com/davidchambers/Base64.js
(function(){function t(t){this.message=t}var e="undefined"!=typeof exports?exports:this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=Error(),t.prototype.name="InvalidCharacterError",e.atob||(e.atob=function(e){if(e=e.replace(/=+$/,""),1==e.length%4)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var o,n,a=0,i=0,c="";n=e.charAt(i++);~n&&(o=a%4?64*o+n:n,a++%4)?c+=String.fromCharCode(255&o>>(6&-2*a)):0)n=r.indexOf(n);return c})})();
(function(){function t(t){this.message=t}var e="undefined"!=typeof exports?exports:this,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.prototype=Error(),t.prototype.name="InvalidCharacterError",e.atob||(e.atob=function(e){if(e=e.replace(/=+$/,""),1==e.length%4)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var o,n,a=0,i=0,c="";n=e.charAt(i++);~n&&(o=a%4?64*o+n:n,a++%4)?c+=String.fromCharCode(255&o>>(6&-2*a)):0)n=r.indexOf(n);return c})})();

0 comments on commit 9d4c93f

Please sign in to comment.