New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jquery-scrollstop

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-scrollstop - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

.npmignore

27

jquery.scrollstop.js

@@ -1,6 +0,20 @@

/*!
* jQuery Scrollstop Plugin v1.1.0
* https://github.com/ssorallen/jquery-scrollstop
*/
(function($) {
// jQuery Scrollstop Plugin v1.2.0
// https://github.com/ssorallen/jquery-scrollstop
(function (factory) {
// UMD[2] wrapper for jQuery plugins to work in AMD or in CommonJS.
//
// [2] https://github.com/umdjs/umd
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof exports === 'object') {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
// Browser globals
factory(jQuery);
}
}(function ($) {
// $.event.dispatch was undocumented and was deprecated in jQuery 1.7[1]. It

@@ -77,3 +91,2 @@ // was replaced by $.event.handle in jQuery 1.9.

};
})(jQuery);
}));
{
"name": "jquery-scrollstop",
"version": "1.1.0",
"version": "1.2.0",
"description": "A jQuery plugin that adds custom scroll start and scroll stop events.",
"main": "jquery.scrollstop.js",
"main": "jquery.scrollstop.min.js",
"scripts": {
"build": "uglifyjs --compres -o jquery.scrollstop.min.js -- jquery.scrollstop.js",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -34,3 +35,6 @@ },

},
"homepage": "https://github.com/ssorallen/jquery-scrollstop"
"homepage": "https://github.com/ssorallen/jquery-scrollstop",
"devDependencies": {
"uglify-js": "^2.4.16"
}
}

@@ -10,3 +10,4 @@ jquery-scrollstop

The example shows a small box in the upper left that says "SCROLLING" and
colors the body different colors when scrolling: http://ssorallen.com/jquery-scrollstop/
colors the body different colors when scrolling:
[http://ssorallen.com/jquery-scrollstop/](http://ssorallen.com/jquery-scrollstop/)

@@ -63,6 +64,3 @@ ## Usage

James Padolsey's jQuery scrollstop plugin that fires an event when scrolling
stops for minimum amount of time.
Originally code copied from
http://james.padolsey.com/javascript/special-scroll-events-for-jquery/
Originally code taken from James Padolsey's blog:
[http://james.padolsey.com/javascript/special-scroll-events-for-jquery/](http://james.padolsey.com/javascript/special-scroll-events-for-jquery/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc