Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jquery-uniform

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-uniform - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

33

lib/jquery.uniform.js

@@ -169,3 +169,3 @@ /**

* @param {String} method One of "after", "before" or "wrap"
* @return $container after it has been cloned for adding to $el
* @return {jQuery} $container after it has been cloned for adding to $el
*/

@@ -197,3 +197,3 @@ function divSpanWrap($el, $container, method) {

* @param {Object} divSpanConfig Options for how we wrap the div/span
* @return Object Contains the div and span as properties
* @return {Object} Contains the div and span as properties
*/

@@ -261,3 +261,3 @@ function divSpan($el, options, divSpanConfig) {

* @param {Object} options
* @return jQuery Wrapper element
* @return {jQuery} jQuery Wrapper element
*/

@@ -282,3 +282,3 @@ function wrapWithWrapperClass($el, options) {

*
* @return boolean True if in high contrast mode
* @return {Boolean} True if in high contrast mode
*/

@@ -310,3 +310,3 @@ function highContrast() {

* @param {String} text
* @return String HTML version
* @return {String} HTML version
*/

@@ -334,3 +334,3 @@ function htmlify(text) {

*
* @return boolean
* @return {Boolean}
*/

@@ -345,3 +345,3 @@ function isMsieSevenOrNewer() {

* @param {jQuery} $el Element
* @return boolean true/false
* @return {Boolean} true/false
*/

@@ -361,2 +361,11 @@ function isMultiselect($el) {

/**
* Meaningless utility function. Used mostly for improving minification.
*
* @return {Boolean}
*/
function returnFalse() {
return false;
}
/**
* noSelect plugin, very slightly modified

@@ -371,3 +380,3 @@ * http://mths.be/noselect v1.0.3

bindMany($elem, options, {
'selectstart dragstart mousedown': false
'selectstart dragstart mousedown': returnFalse
});

@@ -469,3 +478,3 @@

* @param {Object} options Uniform options for the element
* @return Function This generated function will perform the given work
* @return {Function} This generated function will perform the given work
*/

@@ -711,3 +720,3 @@ function unwrapUnwrapUnbindFunction($el, options) {

},
update: false
update: returnFalse
};

@@ -860,3 +869,3 @@ }

},
update: false
update: returnFalse
};

@@ -885,3 +894,3 @@ }

},
update: false
update: returnFalse
};

@@ -888,0 +897,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "A jQuery plugin to make your form controls look how you want them to. Now with HTML-5 attributes!",
"version": "2.2.1",
"version": "2.2.2",
"homepage": "http://opensource.audith.org/uniform",

@@ -8,0 +8,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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