File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " jquery. smooth-scroll" ,
2
+ "name" : " smooth-scroll" ,
3
3
"version" : " 1.5.0" ,
4
- "scripts" : {
5
- "test" : " ./node_modules/.bin/grunt"
6
- },
4
+ "scripts" : {},
7
5
"main" : " jquery.smooth-scroll.js" ,
8
6
"author" : {
9
7
"name" : " Karl Swedberg" ,
36
34
"grunt-shell" : " ~0.2" ,
37
35
"grunt-version" : " ~0.1.1" ,
38
36
"marked" : " ^0.3.2" ,
39
- "node-syntaxhighlighter" : " ~0.8.1"
37
+ "node-syntaxhighlighter" : " ~0.8.1" ,
38
+ "qunitjs" : " ^1.15.0"
40
39
},
41
40
"keywords" : [
42
41
" jQuery" ,
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ $.fn.extend({
116
116
include = true ,
117
117
clickOpts = { } ,
118
118
hostMatch = ( ( location . hostname === link . hostname ) || ! link . hostname ) ,
119
- pathMatch = thisOpts . scrollTarget || ( $ . smoothScroll . filterPath ( link . pathname ) || locationPath ) === locationPath ,
119
+ pathMatch = thisOpts . scrollTarget || ( $ . smoothScroll . filterPath ( link . pathname ) === locationPath ) ,
120
120
thisHash = escapeSelector ( link . hash ) ;
121
121
122
122
if ( ! thisOpts . scrollTarget && ( ! hostMatch || ! pathMatch || ! thisHash ) ) {
You can’t perform that action at this time.
0 commit comments