cosmetic: adjust spacing
This commit is contained in:
parent
1f6fdd808b
commit
f1e2481641
1 changed files with 47 additions and 49 deletions
|
@ -5,13 +5,12 @@ Elm.Native.Http.make = function(elm) {
|
||||||
elm.Native.Http = elm.Native.Http || {};
|
elm.Native.Http = elm.Native.Http || {};
|
||||||
if (elm.Native.Http.values) return elm.Native.Http.values;
|
if (elm.Native.Http.values) return elm.Native.Http.values;
|
||||||
|
|
||||||
|
|
||||||
var JS = Elm.JavaScript.make(elm);
|
var JS = Elm.JavaScript.make(elm);
|
||||||
var List = Elm.List.make(elm);
|
var List = Elm.List.make(elm);
|
||||||
var Signal = Elm.Signal.make(elm);
|
var Signal = Elm.Signal.make(elm);
|
||||||
|
|
||||||
|
function registerReq(queue,responses) {
|
||||||
function registerReq(queue,responses) { return function(req) {
|
return function(req) {
|
||||||
if (req.url.ctor !== '[]') { sendReq(queue,responses,req); }
|
if (req.url.ctor !== '[]') { sendReq(queue,responses,req); }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -57,5 +56,4 @@ Elm.Native.Http.make = function(elm) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return elm.Native.Http.values = {send:send};
|
return elm.Native.Http.values = {send:send};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue