refactor(imports): simplify paths
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {Directive} from '@angular/core';
|
||||
import {Location} from '@angular/common';
|
||||
import {isString} from '../../src/facade/lang';
|
||||
import {isString} from '../facade/lang';
|
||||
import {Router} from '../router';
|
||||
import {Instruction} from '../instruction';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {PromiseWrapper, EventEmitter} from '../../src/facade/async';
|
||||
import {StringMapWrapper} from '../../src/facade/collection';
|
||||
import {isBlank, isPresent} from '../../src/facade/lang';
|
||||
import {PromiseWrapper, EventEmitter} from '../facade/async';
|
||||
import {StringMapWrapper} from '../facade/collection';
|
||||
import {isBlank, isPresent} from '../facade/lang';
|
||||
import {
|
||||
Directive,
|
||||
Attribute,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Type} from '../../src/facade/lang';
|
||||
import {Type} from '../facade/lang';
|
||||
import {RouteDefinition} from '../route_definition';
|
||||
import {RegexSerializer} from '../rules/route_paths/regex_route_path';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {AsyncRoute, AuxRoute, Route, Redirect, RouteDefinition} from './route_config_decorator';
|
||||
import {ComponentDefinition} from '../route_definition';
|
||||
import {isType, Type} from '../../src/facade/lang';
|
||||
import {BaseException} from '../../src/facade/exceptions';
|
||||
import {isType, Type} from '../facade/lang';
|
||||
import {BaseException} from '../facade/exceptions';
|
||||
import {RouteRegistry} from '../route_registry';
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {isPresent, Type} from '../../../src/facade/lang';
|
||||
import {isPresent, Type} from '../../facade/lang';
|
||||
import {RouteHandler} from './route_handler';
|
||||
import {RouteData, BLANK_ROUTE_DATA} from '../../instruction';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {Type} from '../../../src/facade/lang';
|
||||
import {Type} from '../../facade/lang';
|
||||
import {RouteData} from '../../instruction';
|
||||
|
||||
export interface RouteHandler {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {PromiseWrapper} from '../../../src/facade/async';
|
||||
import {isPresent, Type} from '../../../src/facade/lang';
|
||||
import {PromiseWrapper} from '../../facade/async';
|
||||
import {isPresent, Type} from '../../facade/lang';
|
||||
import {RouteHandler} from './route_handler';
|
||||
import {RouteData, BLANK_ROUTE_DATA} from '../../instruction';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {RegExpWrapper, StringWrapper, isPresent, isBlank} from '../../../src/facade/lang';
|
||||
import {BaseException} from '../../../src/facade/exceptions';
|
||||
import {StringMapWrapper} from '../../../src/facade/collection';
|
||||
import {RegExpWrapper, StringWrapper, isPresent, isBlank} from '../../facade/lang';
|
||||
import {BaseException} from '../../facade/exceptions';
|
||||
import {StringMapWrapper} from '../../facade/collection';
|
||||
import {TouchMap, normalizeString} from '../../utils';
|
||||
import {Url, RootUrl, convertUrlParamsToArray} from '../../url_parser';
|
||||
import {RoutePath, GeneratedUrl, MatchedUrl} from './route_path';
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {RegExpWrapper, RegExpMatcherWrapper, isBlank} from '../../../src/facade/lang';
|
||||
import {RegExpWrapper, RegExpMatcherWrapper, isBlank} from '../../facade/lang';
|
||||
import {BaseException} from '@angular/core';
|
||||
import {Url} from '../../url_parser';
|
||||
import {RoutePath, GeneratedUrl, MatchedUrl} from './route_path';
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {isBlank, isPresent, isFunction} from '../../src/facade/lang';
|
||||
import {BaseException} from '../../src/facade/exceptions';
|
||||
import {Map} from '../../src/facade/collection';
|
||||
import {PromiseWrapper} from '../../src/facade/async';
|
||||
import {isBlank, isPresent, isFunction} from '../facade/lang';
|
||||
import {BaseException} from '../facade/exceptions';
|
||||
import {Map} from '../facade/collection';
|
||||
import {PromiseWrapper} from '../facade/async';
|
||||
import {AbstractRule, RouteRule, RedirectRule, RouteMatch, PathMatch} from './rules';
|
||||
import {
|
||||
Route,
|
||||
|
@ -1,7 +1,7 @@
|
||||
import {isPresent, isBlank} from '../../src/facade/lang';
|
||||
import {BaseException} from '../../src/facade/exceptions';
|
||||
import {PromiseWrapper} from '../../src/facade/promise';
|
||||
import {Map} from '../../src/facade/collection';
|
||||
import {isPresent, isBlank} from '../facade/lang';
|
||||
import {BaseException} from '../facade/exceptions';
|
||||
import {PromiseWrapper} from '../facade/promise';
|
||||
import {Map} from '../facade/collection';
|
||||
import {RouteHandler} from './route_handlers/route_handler';
|
||||
import {Url, convertUrlParamsToArray} from '../url_parser';
|
||||
import {ComponentInstruction} from '../instruction';
|
||||
|
Reference in New Issue
Block a user