Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
vhpoet committed Aug 22, 2014
2 parents 243322c + e2d6206 commit 63b17e2
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 42 deletions.
76 changes: 38 additions & 38 deletions deps/js/ripple.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ripple-client",
"version": "1.0.4",
"version": "1.0.5",
"description": "Client for the Ripple payment network",
"author": {
"name": "Ripple Labs, Inc.",
Expand Down
3 changes: 2 additions & 1 deletion src/js/services/authinfo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

/**
* AUTH INFO
*
Expand Down Expand Up @@ -47,7 +48,7 @@ module.factory('rpAuthInfo', ['$rootScope', 'rpRippleTxt', '$http',
},
error: function () {
$scope.$apply(function() {
callback(new Error("Authentication info server unreachable"));
callback(new Error("Cannot connect to our login system, please try again later or contact [email protected]."));
});
},
success: function (data) {
Expand Down
4 changes: 2 additions & 2 deletions src/js/services/books.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ function(net, $q, $scope, $filter, $id) {
if (d.TakerGets.value) {
d.TakerGets.value = d.taker_gets_funded;
} else {
d.TakerGets = d.taker_gets_funded;
d.TakerGets = parseInt(Number(d.taker_gets_funded), 10);
}

if (d.TakerPays.value) {
d.TakerPays.value = d.taker_pays_funded;
} else {
d.TakerPays = d.taker_pays_funded;
d.TakerPays = parseInt(Number(d.taker_pays_funded), 10);
}

d.TakerGets = Amount.from_json(d.TakerGets);
Expand Down

0 comments on commit 63b17e2

Please sign in to comment.