kswedberg / jquery-smooth-scroll

Automatically make same-page links scroll smoothly
MIT License
1.97k stars 427 forks source link

Type Error t is not defined... #102

Closed parasharrajat closed 7 years ago

parasharrajat commented 7 years ago

i tried to add smooth scroll to my webpage, but sometimes it throw an error type Error t is not defined in console..

kswedberg commented 7 years ago

Thx for the report and sorry about the problem. I'm on vacation now so might not be able to look at it for a couple days.

Are you using latest version from this repo? Minified version or unminified?

parasharrajat commented 7 years ago

I m using the minified latest version from jquery plugin website. On Jan 13, 2017 11:26 PM, "Karl Swedberg" notifications@github.com wrote:

Thx for the report and sorry about the problem. I'm on vacation now so might not be able to look at it for a couple days.

Are you using latest version from this repo? Minified version or unminified?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kswedberg/jquery-smooth-scroll/issues/102#issuecomment-272503175, or mute the thread https://github.com/notifications/unsubscribe-auth/AXPed4HrnfB2_XG7onn7j9MXdloOuz8Mks5rR7q1gaJpZM4Li6B_ .

kswedberg commented 7 years ago

The jQuery plugin website has a very old version in it. As noted on the site, "The jQuery Plugin Registry is in read-only mode. New plugin releases will not be processed."

Please use the one in this repo (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/jquery.smooth-scroll.js) or on npm (running npm install jquery-smooth-scroll)