refactor(core): move facades out of core
This is part of ongoing work to make core platform-independent.
BREAKING CHANGE
All private exports from 'angular2/src/core/facade/{lang,collection,exception_handler}' should be replaced with 'angular2/src/facade/{lang,collection,exception_handler}'.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {isString} from 'angular2/src/core/facade/lang';
|
||||
import {isString} from 'angular2/src/facade/lang';
|
||||
import {RequestMethods} from './enums';
|
||||
import {makeTypeError} from 'angular2/src/core/facade/exceptions';
|
||||
import {makeTypeError} from 'angular2/src/facade/exceptions';
|
||||
|
||||
export function normalizeMethodName(method): RequestMethods {
|
||||
if (isString(method)) {
|
||||
@@ -14,4 +14,4 @@ export function normalizeMethodName(method): RequestMethods {
|
||||
return method;
|
||||
}
|
||||
|
||||
export {isJsObject} from 'angular2/src/core/facade/lang';
|
||||
export {isJsObject} from 'angular2/src/facade/lang';
|
||||
|
||||
Reference in New Issue
Block a user