Skip to content

Commit

Permalink
Release 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzyma committed Jan 8, 2019
1 parent 4495e60 commit a2b9bee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svg.draggable.js",
"version": "2.2.1",
"version": "2.2.2",
"homepage": "https://github.com/wout/svg.draggable.js",
"authors": [
"Wout Fierens",
Expand Down
12 changes: 6 additions & 6 deletions dist/svg.draggable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! svg.draggable.js - v2.2.1 - 2018-05-30
* https://github.com/wout/svg.draggable.js
* Copyright (c) 2018 Wout Fierens; Licensed MIT */
/*! svg.draggable.js - v2.2.2 - 2019-01-08
* https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */
;(function() {

// creates handler, saves it
Expand All @@ -23,8 +23,8 @@
DragHandler.prototype.transformPoint = function(event, offset){
event = event || window.event
var touches = event.changedTouches && event.changedTouches[0] || event
this.p.x = touches.pageX - (offset || 0)
this.p.y = touches.pageY
this.p.x = touches.clientX - (offset || 0)
this.p.y = touches.clientY
return this.p.matrixTransform(this.m)
}

Expand Down Expand Up @@ -232,4 +232,4 @@

})

}).call(this);
}).call(this);
8 changes: 4 additions & 4 deletions dist/svg.draggable.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "svg.draggable.js",
"version": "2.2.1",
"version": "2.2.2",
"description": "An extension for svg.js which allows to drag elements with your mouse",
"main": "dist/svg.draggable.js",
"keywords": [
"svg.js",
"draggable",
"mouse"
],
"bugs": "https://github.com/wout/svg.draggable.js/issues",
"bugs": "https://github.com/svgdotjs/svg.draggable.js/issues",
"license": "MIT",
"author": {
"name": "Wout Fierens"
Expand All @@ -17,13 +17,13 @@
{ "name": "Wout Fierens" },
{ "name": "Ulrich-Matthias Schäfer" }
],
"homepage": "https://github.com/wout/svg.draggable.js",
"homepage": "https://github.com/svgdotjs/svg.draggable.js",
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "https://github.com/wout/svg.draggable.js.git"
"url": "https://github.com/svgdotjs/svg.draggable.js.git"
},
"engines": {
"node": ">= 0.8.0"
Expand Down

0 comments on commit a2b9bee

Please sign in to comment.