From 2bfb2aab092b386c2d1dd93056038cfcd4a13c1a Mon Sep 17 00:00:00 2001 From: Brett Postin Date: Wed, 15 May 2013 10:49:16 +0200 Subject: [PATCH] Added animation() signatures to IModule AngularJS 1.1.4 now has animation support baked into the framework, as outlined here: http://www.yearofmoo.com/2013/04/animation-in-angularjs.html API documentation can be found here: http://code.angularjs.org/1.1.4/docs/api/angular.Module --- angularjs/angular.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index dc29a3e1cf..a12223ab9c 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -72,6 +72,9 @@ declare module ng { // see http://docs.angularjs.org/api/angular.Module /////////////////////////////////////////////////////////////////////////// interface IModule { + animation(name: string, animationFactory: Function): IModule; + animation(name: string, inlineAnnotadedFunction: any[]): IModule; + animation(object: Object): IModule; /** configure existing services. Use this method to register work which needs to be performed on module loading */