display error when animation polyfill missing

This commit is contained in:
Adam Bradley
2015-09-15 12:22:21 -05:00
parent 685031d9c7
commit e23e011ece

View File

@ -42,6 +42,10 @@ export class Animation {
this._finishes = []; this._finishes = [];
this.elements(ele); this.elements(ele);
if (!document.documentElement.animate) {
console.error('Web Animations polyfill missing');
}
} }
elements(ele) { elements(ele) {