Skip to content

Commit

Permalink
release notes and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
cubiq committed Apr 5, 2016
1 parent 4727730 commit 75c546d
Show file tree
Hide file tree
Showing 8 changed files with 99 additions and 37 deletions.
18 changes: 2 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
# Contributing to iScroll / FAQ

## Why we need a CLA (Contributor License Agreement)
You are very welcome to collaborate, all changes to the code will be released under an MIT license.

All contributions are welcome but to enforce the openness of this script I have to ask all contributors to sign a Contributor License Agreement. I'm sorry about this but it's the only way to keep the script free and Open Source.

If you are an individual, please sign the following form:
http://cubiq.org/iscroll/cla/individual.html

If you are a company or an entity please sign the following form:
http://cubiq.org/iscroll/cla/entity.html

## Why is my patch not accepted yet?
Thank you very much for your contribution. Please make sure you signed the CLA (see above). Please note that pull requests may take some time to be accepted. Testing iScroll is one of the most time consuming tasks of the project. iScroll works from desktop to smartphone, from tablets to smart TVs. I do not have physical access to all the testing devices, so before I can push a change I have to make sure that the new code is working everywhere.

If you want to speed up the process, please provide your own test results and try to be as more specific as possible.

Thanks!
Matteo Spinelli
By submitting a pull request you implicitly agree to give rights of your code to the project authors. Your contribution will always be released under the same MIT license.
23 changes: 22 additions & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

---

## Version 5.2.0 - 2016.04.05

### Fixes
* Fixes weird scrolling in Chrome (#760, #441, #943, #927, #780)
* [#1009](https://github.com/cubiq/iscroll/issues/1009) fixes utils.prefixPointerEvent method
* [#1018](https://github.com/cubiq/iscroll/issues/1018), [#652](https://github.com/cubiq/iscroll/issues/652) fixes directionX/Y when scrolling with mouse
* [#924](https://github.com/cubiq/iscroll/issues/924), [#950](https://github.com/cubiq/iscroll/issues/950) clean up timer on destroy
* [#949](https://github.com/cubiq/iscroll/issues/949) removes unnecesary style values on wrapper when useTransition option is 'false'
* [#361](https://github.com/cubiq/iscroll/issues/361) fixes two click/tap events issue
* [#980](https://github.com/cubiq/iscroll/issues/980) fixes event propagation for wheel event
* [#768](https://github.com/cubiq/iscroll/issues/768) fixes indicators
* [#761](https://github.com/cubiq/iscroll/issues/761) fixes two scrollEnd events issue
* Fixes 'click' event is not fired when iScroll is disabled

### Changes
* Added AMD support
* Changed default value of disableMouse/disableTouch/disablePointer options
* Removed CLA non-sense

---

## Version 5.1.3 - 2014.09.19

### Fixes
Expand Down Expand Up @@ -46,4 +67,4 @@

---

*I started collecting release notes from version 5.1.0*
*I started collecting release notes from version 5.1.0*
17 changes: 14 additions & 3 deletions build/iscroll-infinite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3-master ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -365,7 +365,7 @@ function IScroll (el, options) {
}

IScroll.prototype = {
version: '5.1.3-master',
version: '5.2.0',

_init: function () {
this._initEvents();
Expand Down Expand Up @@ -412,7 +412,18 @@ IScroll.prototype = {
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
// for button property
// http://unixpapa.com/js/mouse.html
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
Expand Down
17 changes: 14 additions & 3 deletions build/iscroll-lite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3-master ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -348,7 +348,7 @@ function IScroll (el, options) {
}

IScroll.prototype = {
version: '5.1.3-master',
version: '5.2.0',

_init: function () {
this._initEvents();
Expand Down Expand Up @@ -379,7 +379,18 @@ IScroll.prototype = {
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
// for button property
// http://unixpapa.com/js/mouse.html
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
Expand Down
17 changes: 14 additions & 3 deletions build/iscroll-probe.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3-master ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -363,7 +363,7 @@ function IScroll (el, options) {
}

IScroll.prototype = {
version: '5.1.3-master',
version: '5.2.0',

_init: function () {
this._initEvents();
Expand Down Expand Up @@ -410,7 +410,18 @@ IScroll.prototype = {
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
// for button property
// http://unixpapa.com/js/mouse.html
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
Expand Down
17 changes: 14 additions & 3 deletions build/iscroll-zoom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3-master ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -365,7 +365,7 @@ function IScroll (el, options) {
}

IScroll.prototype = {
version: '5.1.3-master',
version: '5.2.0',

_init: function () {
this._initEvents();
Expand Down Expand Up @@ -416,7 +416,18 @@ IScroll.prototype = {
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
// for button property
// http://unixpapa.com/js/mouse.html
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
Expand Down
17 changes: 14 additions & 3 deletions build/iscroll.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! iScroll v5.1.3-master ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
Expand Down Expand Up @@ -360,7 +360,7 @@ function IScroll (el, options) {
}

IScroll.prototype = {
version: '5.1.3-master',
version: '5.2.0',

_init: function () {
this._initEvents();
Expand Down Expand Up @@ -407,7 +407,18 @@ IScroll.prototype = {
_start: function (e) {
// React to left mouse button only
if ( utils.eventType[e.type] != 1 ) {
if ( e.button !== 0 ) {
// for button property
// http://unixpapa.com/js/mouse.html
var button;
if (!e.which) {
/* IE case */
button = (e.button < 2) ? 0 :
((e.button == 4) ? 1 : 2);
} else {
/* All others */
button = e.button;
}
if ( button !== 0 ) {
return;
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "iscroll",
"description": "Smooth scrolling for the web",
"version": "5.1.3-master",
"homepage": "http://cubiq.org/iscroll-4",
"version": "5.2.0",
"homepage": "http://iscrolljs.com",
"author": "Matteo Spinelli <[email protected]> (http://cubiq.org)",
"keywords": [
"scrolling",
Expand All @@ -15,8 +15,8 @@
],
"main": "build/iscroll.js",
"devDependencies": {
"jshint": "~2.5.1",
"uglify-js": "~2.4.13"
"jshint": "~2.9.1",
"uglify-js": "~2.6.2"
},
"repository": {
"type": "git",
Expand All @@ -26,4 +26,4 @@
"url": "https://github.com/cubiq/iscroll/issues"
},
"license": "MIT"
}
}

0 comments on commit 75c546d

Please sign in to comment.