aboutsummaryrefslogtreecommitdiff
path: root/extension/lib/wallet/http.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-11 02:56:32 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-11 02:56:32 +0100
commitffe6dee6aa50c864cc9a36e816eb95f2f23719b1 (patch)
treedddcd8134d351241e5af8e016fa59848beace6d1 /extension/lib/wallet/http.ts
parent4f934925e017082606f2786e0bbf0d48281928d9 (diff)
refactor code to be clearer/prettier
Diffstat (limited to 'extension/lib/wallet/http.ts')
-rw-r--r--extension/lib/wallet/http.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/extension/lib/wallet/http.ts b/extension/lib/wallet/http.ts
index d132857b7..3f7244e40 100644
--- a/extension/lib/wallet/http.ts
+++ b/extension/lib/wallet/http.ts
@@ -23,7 +23,6 @@
"use strict";
-
export interface HttpResponse {
status: number;
responseText: string;
@@ -32,8 +31,8 @@ export interface HttpResponse {
export class BrowserHttpLib {
req(method: string,
- url: string|uri.URI,
- options?: any): Promise<HttpResponse> {
+ url: string|uri.URI,
+ options?: any): Promise<HttpResponse> {
let urlString: string;
if (url instanceof URI) {
urlString = url.href();