jquery-once
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4
{ | ||
"name": "robloach/jquery-once", | ||
"description": "Filters out all elements that had the same filter applied on them before. It can be used to ensure that a function is only applied once to an element.", | ||
"description": "Act on jQuery elements only once.", | ||
"type": "component", | ||
@@ -5,0 +5,0 @@ "license": [ |
@@ -1,3 +0,3 @@ | ||
/** | ||
* jQuery Once Plugin 2.0.0-alpha.3 | ||
/*! | ||
* jQuery Once Plugin 2.0.0-alpha.4 | ||
* http://github.com/robloach/jquery-once | ||
@@ -4,0 +4,0 @@ * |
@@ -1,4 +0,4 @@ | ||
/*! jQuery Once - v2.0.0-alpha.3 - 10/1/2014 - https://github.com/RobLoach/jquery-once | ||
* (c) 2014 Rob Loach <robloach@gmail.com> (http://github.com/robloach) | ||
/*! jQuery Once - v2.0.0-alpha.4 - 10/5/2014 - https://github.com/RobLoach/jquery-once | ||
* (c) 2014 Rob Loach (http://github.com/robloach) | ||
* Licensed GPL-2.0, MIT */ | ||
!function(a){"use strict";"object"==typeof exports?a(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";var b={},c=0;a.fn.once=function(d,e){"string"!=typeof d&&(d in b||(b[d]=++c),e||(e=d),d=b[d]);var f="jquery-once-"+d,g=this.filter(function(){return a(this).data(f)!==!0}).data(f,!0);return a.isFunction(e)?g.each(e):g},a.fn.removeOnce=function(b,c){var d="jquery-once-"+b,e=this.filter(function(){return a(this).data(d)===!0}).removeData(d);return a.isFunction(c)?e.each(c):e}}); |
@@ -6,3 +6,3 @@ | ||
Copyright © Rob Loach <robloach@gmail.com> (http://github.com/robloach) | ||
Copyright © Rob Loach (http://github.com/robloach) | ||
@@ -9,0 +9,0 @@ ## GPL-2.0 |
{ | ||
"name": "once", | ||
"title": "jQuery Once", | ||
"description": "Filters out all elements that had the same filter applied on them before. It can be used to ensure that a function is only applied once to an element.", | ||
"description": "Act on jQuery elements only once.", | ||
"keywords": [ | ||
@@ -9,3 +9,3 @@ "jquery", | ||
], | ||
"version": "2.0.0-alpha.2", | ||
"version": "2.0.0-alpha.4", | ||
"author": { | ||
@@ -12,0 +12,0 @@ "name": "Rob Loach", |
@@ -5,3 +5,3 @@ { | ||
"description": "Act on jQuery elements only once.", | ||
"version": "2.0.0-alpha.3", | ||
"version": "2.0.0-alpha.4", | ||
"keywords": [ | ||
@@ -19,3 +19,3 @@ "jquery" | ||
"homepage": "https://github.com/RobLoach/jquery-once", | ||
"author": "Rob Loach <robloach@gmail.com> (http://github.com/robloach)", | ||
"author": "Rob Loach (http://github.com/robloach)", | ||
"maintainers": [ | ||
@@ -27,3 +27,3 @@ "Rob Loach (https://github.com/robloach)" | ||
"JohnAlbin (https://github.com/JohnAlbin)", | ||
"Rob Loach <robloach@gmail.com> (https://github.com/robloach)", | ||
"Rob Loach <robloach@gmail.com> (https://github.com/RobLoach)", | ||
"theodoreb (https://github.com/theodoreb)" | ||
@@ -63,4 +63,5 @@ ], | ||
"test": "grunt jshint qunit", | ||
"projectz": "node_modules/.bin/projectz compile" | ||
"projectz": "node_modules/.bin/projectz compile", | ||
"release": "grunt release" | ||
} | ||
} | ||
} |
@@ -43,3 +43,3 @@ | ||
- Install: `npm install --save jquery-once` | ||
- CDN URL: `//wzrd.in/bundle/jquery-once@2.0.0-alpha.3` | ||
- CDN URL: `//wzrd.in/bundle/jquery-once@2.0.0-alpha.4` | ||
@@ -124,3 +124,3 @@ ### [Ender](http://ender.jit.su/) | ||
Copyright © Rob Loach <robloach@gmail.com> (http://github.com/robloach) | ||
Copyright © Rob Loach (http://github.com/robloach) | ||
@@ -151,3 +151,3 @@ <!-- /LICENSE --> | ||
- [JohnAlbin](https://github.com/JohnAlbin) — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=JohnAlbin) | ||
- [Rob Loach](https://github.com/robloach) <robloach@gmail.com> — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=robloach) | ||
- [Rob Loach](https://github.com/RobLoach) <robloach@gmail.com> — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=RobLoach) | ||
- [theodoreb](https://github.com/theodoreb) — [view contributions](https://github.com/RobLoach/jquery-once/commits?author=theodoreb) | ||
@@ -154,0 +154,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
15562