Skip to content

Commit

Permalink
Grunt lint: fix: true
Browse files Browse the repository at this point in the history
  • Loading branch information
kswedberg committed May 5, 2017
1 parent ee541b6 commit d73ec93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ module.exports = function(grunt) {
eslint: {
target: ['Gruntfile.js', 'src/**/*.js', 'test/**/*.js'],
options: {
fix: true,
configFile: '.eslintrc.js',
}
},
Expand Down
7 changes: 5 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
});

$('#scroll-relative-plus').on('click', function() {
var wHeight = $(window).height();
$.smoothScroll('+=100px');
$.smoothScroll({
afterScroll: function() {
console.log('hello!')
}
}, '+=100px');
});
$('#scroll-relative-minus').on('click', function() {
$.smoothScroll('-=100px');
Expand Down

0 comments on commit d73ec93

Please sign in to comment.