Skip to content

Commit

Permalink
Release version 7.0.0-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros committed Nov 28, 2015
1 parent 70444c5 commit f726c62
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions dist/cycle-http-driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1467,12 +1467,6 @@ function normalizeRequestOptions(reqOptions) {
}
}

function isolateSource(response$$, scope) {
return response$$.filter(function (res$) {
return Array.isArray(res$.request._namespace) && res$.request._namespace.indexOf(scope) !== -1;
});
}

function isolateSink(request$, scope) {
return request$.map(function (req) {
if (typeof req === "string") {
Expand All @@ -1484,6 +1478,15 @@ function isolateSink(request$, scope) {
});
}

function isolateSource(response$$, scope) {
var isolatedResponse$$ = response$$.filter(function (res$) {
return Array.isArray(res$.request._namespace) && res$.request._namespace.indexOf(scope) !== -1;
});
isolatedResponse$$.isolateSource = isolateSource;
isolatedResponse$$.isolateSink = isolateSink;
return isolatedResponse$$;
}

function makeHTTPDriver() {
var _ref2 = arguments.length <= 0 || arguments[0] === undefined ? { eager: false } : arguments[0];

Expand Down
Loading

0 comments on commit f726c62

Please sign in to comment.