Skip to content

Commit

Permalink
chore(all): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Mar 15, 2016
1 parent 1505ca5 commit 87924a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "./node_modules/aurelia-tools/.eslintrc"
"extends": "./node_modules/aurelia-tools/.eslintrc",
"rules": {
"no-empty": 0
}
}
4 changes: 2 additions & 2 deletions src/animator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -170,7 +170,7 @@ export class CssAnimator {
}
}
} catch (e) {

//do nothing
}

return false;
Expand Down

0 comments on commit 87924a6

Please sign in to comment.