Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Fodoj/iscroll into Fodoj-…
Browse files Browse the repository at this point in the history
…master

Conflicts:
	dist/iscroll-lite-min.js
	dist/iscroll-min.js
	dist/iscroll-probe-min.js
	dist/iscroll-zoom-min.js
  • Loading branch information
cubiq committed Dec 6, 2013
2 parents 4f65f04 + 068b2e2 commit 05375ba
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions build/iscroll-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ IScroll.prototype = {
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d]/g, '');
y = +matrix.top.replace(/[^-\d]/g, '');
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}

return { x: x, y: y };
Expand Down
4 changes: 2 additions & 2 deletions build/iscroll-probe.js
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,8 @@ IScroll.prototype = {
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d]/g, '');
y = +matrix.top.replace(/[^-\d]/g, '');
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}

return { x: x, y: y };
Expand Down
4 changes: 2 additions & 2 deletions build/iscroll-zoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,8 +881,8 @@ IScroll.prototype = {
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d]/g, '');
y = +matrix.top.replace(/[^-\d]/g, '');
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}

return { x: x, y: y };
Expand Down
4 changes: 2 additions & 2 deletions build/iscroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,8 @@ IScroll.prototype = {
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d]/g, '');
y = +matrix.top.replace(/[^-\d]/g, '');
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}

return { x: x, y: y };
Expand Down
2 changes: 1 addition & 1 deletion dist/iscroll-lite-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iscroll-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iscroll-probe-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iscroll-zoom-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ IScroll.prototype = {
x = +(matrix[12] || matrix[4]);
y = +(matrix[13] || matrix[5]);
} else {
x = +matrix.left.replace(/[^-\d]/g, '');
y = +matrix.top.replace(/[^-\d]/g, '');
x = +matrix.left.replace(/[^-\d.]/g, '');
y = +matrix.top.replace(/[^-\d.]/g, '');
}

return { x: x, y: y };
Expand Down

0 comments on commit 05375ba

Please sign in to comment.