Skip to content
Browse files

Remove variables from global scope

Preventing variables from bleeding into the global scope
  • Loading branch information...
1 parent 48ca47b commit dcff4e7f65b418c985bfc18d64654cad44fd2405 @1800joe 1800joe committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/addon/easing.js
View
6 lib/addon/easing.js
@@ -20,9 +20,9 @@ function Easing(token) {
if (!match || !match.length) {
return _identity;
}
- easing = _easings[match[1]];
- mode = _modes[match[3]];
- params = match[5];
+ var easing = _easings[match[1]];
+ var mode = _modes[match[3]];
+ var params = match[5];
if (easing && easing.fn) {
fn = easing.fn;
} else if (easing && easing.fc) {

0 comments on commit dcff4e7

Please sign in to comment.
Something went wrong with that request. Please try again.