diff --git a/.eslintrc b/.eslintrc index f674032..9fb28f0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,6 @@ { - "extends": "./node_modules/aurelia-tools/.eslintrc" + "extends": "./node_modules/aurelia-tools/.eslintrc", + "rules": { + "no-empty": 0 + } } diff --git a/src/animator.js b/src/animator.js index c084a5d..76945fc 100644 --- a/src/animator.js +++ b/src/animator.js @@ -150,7 +150,7 @@ export class CssAnimator { // loop through the stylesheets searching for the keyframes. no cache is // used in case of dynamic changes to the stylesheets. let styleSheets = document.styleSheets; - + try { for (let i = 0; i < styleSheets.length; ++i) { let cssRules = styleSheets[i].cssRules; @@ -170,7 +170,7 @@ export class CssAnimator { } } } catch (e) { - + //do nothing } return false;