chore(API): cleaned up top level imports (render)

This commit is contained in:
Misko Hevery
2015-07-24 14:56:57 -07:00
parent c83a3f3372
commit 329a6e00dc
15 changed files with 51 additions and 98 deletions

View File

@ -22,7 +22,7 @@ import {
PreGeneratedChangeDetection,
Pipes,
defaultPipes
} from 'angular2/change_detection';
} from 'angular2/src/change_detection/change_detection';
import {ExceptionHandler} from './exception_handler';
import {ViewLoader} from 'angular2/src/render/dom/compiler/view_loader';
import {StyleUrlResolver} from 'angular2/src/render/dom/compiler/style_url_resolver';

View File

@ -0,0 +1,13 @@
/**
* @module
* @description
* This module provides advanced support for extending dom strategy.
*/
export * from './dom/compiler/view_loader';
export * from './dom/dom_renderer';
export * from './dom/shadow_dom/shadow_dom_strategy';
export * from './dom/shadow_dom/native_shadow_dom_strategy';
export * from './dom/shadow_dom/emulated_scoped_shadow_dom_strategy';
export * from './dom/shadow_dom/emulated_unscoped_shadow_dom_strategy';
export * from './api';

View File

@ -1,6 +1,6 @@
library test_lib.spies;
import 'package:angular2/change_detection.dart';
import 'package:angular2/src/change_detection/change_detection.dart';
import 'package:angular2/di.dart';
import './test_lib.dart';
@ -32,4 +32,4 @@ class SpyDependencyProvider extends SpyObject implements DependencyProvider {
@proxy
class SpyChangeDetectorRef extends SpyObject implements ChangeDetectorRef {
noSuchMethod(m) => super.noSuchMethod(m);
}
}

View File

@ -16,7 +16,7 @@ import {
ViewType
} from "angular2/src/render/api";
import {WorkerElementRef} from 'angular2/src/web-workers/shared/api';
import {AST, ASTWithSource} from "angular2/change_detection";
import {AST, ASTWithSource} from 'angular2/src/change_detection/change_detection';
import {Parser} from "angular2/src/change_detection/parser/parser";
import {Injectable} from "angular2/di";
import {RenderProtoViewRefStore} from 'angular2/src/web-workers/shared/render_proto_view_ref_store';

View File

@ -13,7 +13,7 @@ import {
PreGeneratedChangeDetection,
Pipes,
defaultPipes
} from 'angular2/change_detection';
} from 'angular2/src/change_detection/change_detection';
import {EventManager, DomEventsPlugin} from 'angular2/src/render/dom/events/event_manager';
import {Compiler, CompilerCache} from 'angular2/src/core/compiler/compiler';
import {BrowserDomAdapter} from 'angular2/src/dom/browser_adapter';

View File

@ -20,7 +20,7 @@ import {
Pipes,
defaultPipes,
PreGeneratedChangeDetection
} from 'angular2/change_detection';
} from 'angular2/src/change_detection/change_detection';
import {StyleUrlResolver} from 'angular2/src/render/dom/compiler/style_url_resolver';
import {ExceptionHandler} from 'angular2/src/core/exception_handler';
import {DirectiveResolver} from 'angular2/src/core/compiler/directive_resolver';