Merge pull request #5919 from mif007/mif007-IAnimationService-patch

change IAnimateService methods signature
This commit is contained in:
Masahiro Wakame
2015-09-27 10:46:58 +09:00
2 changed files with 1 additions and 13 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ declare module angular.animate {
* AnimateService
* see http://docs.angularjs.org/api/ngAnimate/service/$animate
*/
interface IAnimateService extends angular.IAnimateService {
interface IAnimateService {
/**
* Globally enables / disables animations.
*
-12
View File
@@ -1713,18 +1713,6 @@ declare module angular {
inheritedData(key?: string): any;
}
///////////////////////////////////////////////////////////////////////
// AnimateService
// see http://docs.angularjs.org/api/ng.$animate
///////////////////////////////////////////////////////////////////////
interface IAnimateService {
addClass(element: JQuery, className: string, done?: Function): IPromise<any>;
enter(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
leave(element: JQuery, done?: Function): void;
move(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
removeClass(element: JQuery, className: string, done?: Function): void;
}
///////////////////////////////////////////////////////////////////////////
// AUTO module (angular.js)
///////////////////////////////////////////////////////////////////////////