Browse Source

Reeased version 3.7.2

v3_develop v3.7.2
jos 10 years ago
parent
commit
bcc5165330
7 changed files with 25517 additions and 25498 deletions
  1. +10
    -5
      HISTORY.md
  2. +1
    -1
      bower.json
  3. +25483
    -25473
      dist/vis.js
  4. +1
    -1
      dist/vis.map
  5. +16
    -16
      dist/vis.min.js
  6. +5
    -1
      lib/timeline/component/ItemSet.js
  7. +1
    -1
      package.json

+ 10
- 5
HISTORY.md View File

@ -2,17 +2,22 @@
http://visjs.org http://visjs.org
## not yet released, version 3.7.2-SNAPSHOT
## 2014-12-09, version 3.7.2
### Timeline
- Fixed zooming issue on mobile devices.
### Graph2D
- Fixed infinite loop when clearing DataSet
### Network ### Network
- Sidestepped double touch event from hammer (ugly.. but functional) causing strange behaviour in manipulation mode
- Sidestepped double touch event from hammer (ugly.. but functional) causing
strange behaviour in manipulation mode
- Better cleanup after reconnecting edges in manipulation mode - Better cleanup after reconnecting edges in manipulation mode
### Graph2D
- Fixed infinite loop when clearing dataset
## 2014-11-28, version 3.7.1 ## 2014-11-28, version 3.7.1

+ 1
- 1
bower.json View File

@ -1,6 +1,6 @@
{ {
"name": "vis", "name": "vis",
"version": "3.7.2-SNAPSHOT",
"version": "3.7.2",
"main": ["dist/vis.min.js", "dist/vis.min.css"], "main": ["dist/vis.min.js", "dist/vis.min.css"],
"description": "A dynamic, browser-based visualization library.", "description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/", "homepage": "http://visjs.org/",

+ 25483
- 25473
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 16
- 16
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 5
- 1
lib/timeline/component/ItemSet.js View File

@ -182,7 +182,7 @@ ItemSet.prototype._create = function(){
// of the center container is larger than of the ItemSet, so we // of the center container is larger than of the ItemSet, so we
// can click in the empty area to create a new item or deselect an item. // can click in the empty area to create a new item or deselect an item.
this.hammer = Hammer(this.body.dom.centerContainer, { this.hammer = Hammer(this.body.dom.centerContainer, {
prevent_default: true
preventDefault: true
}); });
// drag items when selected // drag items when selected
@ -1151,6 +1151,8 @@ ItemSet.prototype._onDragStart = function (event) {
* @private * @private
*/ */
ItemSet.prototype._onDrag = function (event) { ItemSet.prototype._onDrag = function (event) {
event.preventDefault()
if (this.touchParams.itemProps) { if (this.touchParams.itemProps) {
var me = this; var me = this;
var snap = this.body.util.snap || null; var snap = this.body.util.snap || null;
@ -1235,6 +1237,8 @@ ItemSet.prototype._moveToGroup = function(item, groupId) {
* @private * @private
*/ */
ItemSet.prototype._onDragEnd = function (event) { ItemSet.prototype._onDragEnd = function (event) {
event.preventDefault()
if (this.touchParams.itemProps) { if (this.touchParams.itemProps) {
// prepare a change set for the changed items // prepare a change set for the changed items
var changes = [], var changes = [],

+ 1
- 1
package.json View File

@ -1,6 +1,6 @@
{ {
"name": "vis", "name": "vis",
"version": "3.7.2-SNAPSHOT",
"version": "3.7.2",
"description": "A dynamic, browser-based visualization library.", "description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/", "homepage": "http://visjs.org/",
"repository": { "repository": {

Loading…
Cancel
Save