From e23e011ece35c4df67d1ee1f79c8d35c8dd27d5e Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 15 Sep 2015 12:22:21 -0500 Subject: [PATCH] display error when animation polyfill missing --- ionic/animations/animation.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ionic/animations/animation.ts b/ionic/animations/animation.ts index 594a0fb736..88e7a1b32c 100644 --- a/ionic/animations/animation.ts +++ b/ionic/animations/animation.ts @@ -42,6 +42,10 @@ export class Animation { this._finishes = []; this.elements(ele); + + if (!document.documentElement.animate) { + console.error('Web Animations polyfill missing'); + } } elements(ele) {