Skip to content

Commit 6a63969

Browse files
committed
refactor(http): remove useless constant
Closes angular#4364
1 parent 4319563 commit 6a63969

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

modules/angular2/src/http/interfaces.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ import {Headers} from './headers';
33
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
44
import {EventEmitter} from 'angular2/src/core/facade/async';
55
import {Request} from './static_request';
6-
import {URLSearchParamsUnionFixer, URLSearchParams} from './url_search_params';
7-
8-
// Work around Dartanalyzer problem :(
9-
const URLSearchParams_UnionFixer = URLSearchParamsUnionFixer;
6+
import {URLSearchParams} from './url_search_params';
107

118
/**
129
* Abstract class from which real backends are derived.

modules/angular2/src/http/url_search_params.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ function paramParser(rawParams: string = ''): Map<string, string[]> {
2222
return map;
2323
}
2424

25-
// TODO(caitp): This really should not be needed. Issue with ts2dart.
26-
export const URLSearchParamsUnionFixer: string = CONST_EXPR("UnionFixer");
27-
2825
/**
2926
* Map-like representation of url search parameters, based on
3027
* [URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard,

0 commit comments

Comments
 (0)