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:
vsavkin
2015-11-06 17:34:07 -08:00
committed by Victor Savkin
parent 3593d85807
commit 79472b77ca
451 changed files with 823 additions and 979 deletions

View File

@ -1,7 +1,7 @@
import {Component, View, ViewEncapsulation, OnChanges} from 'angular2/angular2';
import {TimerWrapper} from 'angular2/src/core/facade/async';
import {isPresent} from 'angular2/src/core/facade/lang';
import {TimerWrapper} from 'angular2/src/facade/async';
import {isPresent} from 'angular2/src/facade/lang';
// TODO(jelbourn): Ink ripples.

View File

@ -1,8 +1,8 @@
import {Component, View, Attribute, ViewEncapsulation} from 'angular2/angular2';
import {isPresent} from 'angular2/src/core/facade/lang';
import {isPresent} from 'angular2/src/facade/lang';
import {KeyCodes} from 'angular2_material/src/core/key_codes';
import {KeyboardEvent} from 'angular2/src/core/facade/browser';
import {NumberWrapper} from 'angular2/src/core/facade/lang';
import {KeyboardEvent} from 'angular2/src/facade/browser';
import {NumberWrapper} from 'angular2/src/facade/lang';
@Component({
selector: 'md-checkbox',

View File

@ -16,10 +16,10 @@ import {
ViewEncapsulation
} from 'angular2/core';
import {ObservableWrapper, Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
import {isPresent, Type} from 'angular2/src/core/facade/lang';
import {ObservableWrapper, Promise, PromiseWrapper} from 'angular2/src/facade/async';
import {isPresent, Type} from 'angular2/src/facade/lang';
import {DOM} from 'angular2/src/core/dom/dom_adapter';
import {MouseEvent, KeyboardEvent} from 'angular2/src/core/facade/browser';
import {MouseEvent, KeyboardEvent} from 'angular2/src/facade/browser';
import {KeyCodes} from 'angular2_material/src/core/key_codes';
// TODO(jelbourn): Opener of dialog can control where it is rendered.

View File

@ -9,9 +9,9 @@ import {
AfterContentChecked
} from 'angular2/angular2';
import {ListWrapper} from 'angular2/src/core/facade/collection';
import {StringWrapper, isPresent, isString, NumberWrapper} from 'angular2/src/core/facade/lang';
import {Math} from 'angular2/src/core/facade/math';
import {ListWrapper} from 'angular2/src/facade/collection';
import {StringWrapper, isPresent, isString, NumberWrapper} from 'angular2/src/facade/lang';
import {Math} from 'angular2/src/facade/math';
// TODO(jelbourn): Set appropriate aria attributes for grid list elements.
// TODO(jelbourn): Animations.

View File

@ -1,6 +1,6 @@
import {Directive, Attribute, Host, SkipSelf, AfterContentChecked} from 'angular2/angular2';
import {ObservableWrapper, EventEmitter} from 'angular2/src/core/facade/async';
import {ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
// TODO(jelbourn): validation (will depend on Forms API).
// TODO(jelbourn): textarea resizing

View File

@ -1,7 +1,7 @@
import {Component, View, ViewEncapsulation, Attribute, OnChanges} from 'angular2/angular2';
import {CONST} from 'angular2/src/core/facade/lang';
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
import {Math} from 'angular2/src/core/facade/math';
import {CONST} from 'angular2/src/facade/lang';
import {isPresent, isBlank} from 'angular2/src/facade/lang';
import {Math} from 'angular2/src/facade/math';
/** Different display / behavior modes for progress-linear. */
@CONST()

View File

@ -10,9 +10,9 @@ import {
OnInit
} from 'angular2/angular2';
import {isPresent, StringWrapper, NumberWrapper} from 'angular2/src/core/facade/lang';
import {ObservableWrapper, EventEmitter} from 'angular2/src/core/facade/async';
import {Event, KeyboardEvent} from 'angular2/src/core/facade/browser';
import {isPresent, StringWrapper, NumberWrapper} from 'angular2/src/facade/lang';
import {ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
import {Event, KeyboardEvent} from 'angular2/src/facade/browser';
import {MdRadioDispatcher} from 'angular2_material/src/components/radio/radio_dispatcher';
import {KeyCodes} from 'angular2_material/src/core/key_codes';

View File

@ -1,4 +1,4 @@
import {CONST} from 'angular2/src/core/facade/lang';
import {CONST} from 'angular2/src/facade/lang';
// Can't use an enum because Dart doesn't support enum initializers.
@CONST()