Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/doochik/iscroll into doo…
Browse files Browse the repository at this point in the history
…chik-patch-1
  • Loading branch information
Matteo Spinelli committed Jul 4, 2013
2 parents 842cdf3 + 2fad8f9 commit 3c42328
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
Expand Down Expand Up @@ -183,8 +182,8 @@ var utils = (function () {
elastic: {
style: '',
fn: function (k) {
f = 0.22;
e = 0.4;
var f = 0.22;
var e = 0.4;

if ( k === 0 ) { return 0; }
if ( k == 1 ) { return 1; }
Expand Down

0 comments on commit 3c42328

Please sign in to comment.