refactor(http): remove useless constant

Closes #4364
This commit is contained in:
mgechev 2015-09-25 13:23:05 +03:00 committed by Minko Gechev
parent 4319563bba
commit 6a6396963f
2 changed files with 1 additions and 7 deletions

View File

@ -3,10 +3,7 @@ import {Headers} from './headers';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {EventEmitter} from 'angular2/src/core/facade/async';
import {Request} from './static_request';
import {URLSearchParamsUnionFixer, URLSearchParams} from './url_search_params';
// Work around Dartanalyzer problem :(
const URLSearchParams_UnionFixer = URLSearchParamsUnionFixer;
import {URLSearchParams} from './url_search_params';
/**
* Abstract class from which real backends are derived.

View File

@ -22,9 +22,6 @@ function paramParser(rawParams: string = ''): Map<string, string[]> {
return map;
}
// TODO(caitp): This really should not be needed. Issue with ts2dart.
export const URLSearchParamsUnionFixer: string = CONST_EXPR("UnionFixer");
/**
* Map-like representation of url search parameters, based on
* [URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard,