From f7d46e715987a6ce88e352e60551222f3a3e6a76 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 14 Sep 2015 20:59:14 -0700 Subject: [PATCH] fix(api): remove animation from public API --- modules/angular2/angular2.ts | 1 - modules/angular2/test/public_api_spec.ts | 36 ------------------------ 2 files changed, 37 deletions(-) diff --git a/modules/angular2/angular2.ts b/modules/angular2/angular2.ts index fcca221dde..2f2a1ebc4c 100644 --- a/modules/angular2/angular2.ts +++ b/modules/angular2/angular2.ts @@ -2,4 +2,3 @@ export * from './core'; export * from './profile'; export * from './lifecycle_hooks'; export * from './bootstrap'; -export * from './animate'; diff --git a/modules/angular2/test/public_api_spec.ts b/modules/angular2/test/public_api_spec.ts index 9426223d68..e2585bde84 100644 --- a/modules/angular2/test/public_api_spec.ts +++ b/modules/angular2/test/public_api_spec.ts @@ -66,24 +66,6 @@ const NG_API = [ 'AbstractControlDirective.valid', 'AbstractControlDirective.value', - 'Animation', // TODO: Animation should be on DOM renderer side only, and should be private - 'Animation.addClasses', - 'Animation.addEvents', - 'Animation.applyStyles', - 'Animation.handleAnimationCompleted', - 'Animation.handleAnimationEvent', - 'Animation.onComplete', - 'Animation.parseDurationString', - 'Animation.removeClasses', - 'Animation.setup', - 'Animation.start', - 'Animation.stripLetters', - 'Animation.totalTime', - 'Animation.wait', - - 'AnimationBuilder', - 'AnimationBuilder.css', - 'AppRootUrl', 'AppRootUrl.value', @@ -136,11 +118,6 @@ const NG_API = [ 'BindingWithVisibility', 'BindingWithVisibility.getKeyId', - 'BrowserDetails', // TODO: should be private - 'BrowserDetails.doesElapsedTimeIncludesDelay', - 'BrowserDetails.raf', - - 'By', // TODO: not sure 'By.all', 'By.css', @@ -288,19 +265,6 @@ const NG_API = [ 'ControlGroup.value', 'ControlGroup.valueChanges', - 'CssAnimationBuilder', // TODO: private - 'CssAnimationBuilder.addAnimationClass', - 'CssAnimationBuilder.addClass', - 'CssAnimationBuilder.removeClass', - 'CssAnimationBuilder.setDelay', - 'CssAnimationBuilder.setDuration', - 'CssAnimationBuilder.setFromStyles', - 'CssAnimationBuilder.setStyles', - 'CssAnimationBuilder.setToStyles', - 'CssAnimationBuilder.start', - - 'CssAnimationOptions', // TODO: private - 'CurrencyPipe', 'CurrencyPipe.constructor', 'CurrencyPipe.transform',