Skip to content

Commit

Permalink
fix test failed about scroll-into-view (DefinitelyTyped#11789)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame authored and mhegazy committed Oct 6, 2016
1 parent 67522ee commit 4f1ec2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scroll-into-view/scroll-into-view-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scrollIntoView(someElement);
scrollIntoView(someElement, {
time: 500, // half a second
ease: function(value){
return Math.pow(value,2) - value); // Do something weird.
return Math.pow(value,2) - value; // Do something weird.
},
validTarget: function(target, parentsScrolled){
return parentsScrolled < 2 && !target.matches('.dontScroll');
Expand Down
2 changes: 1 addition & 1 deletion scroll-into-view/scroll-into-view.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Type definitions for scroll-into-view 1.6.0
// Project: https://github.com/KoryNunn/scroll-into-view
// Definitions by: zivni https://github.com/zivni
// Definitions by: zivni <https://github.com/zivni>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module __ScrollIntoView {
Expand Down

0 comments on commit 4f1ec2e

Please sign in to comment.