Skip to content

Commit

Permalink
Release v3.0.4 (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Aug 2, 2019
1 parent 9372d87 commit 9b9ae9e
Show file tree
Hide file tree
Showing 37 changed files with 94 additions and 60 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
02-08-2019 (v3.0.4)

* package.json - add a browser key to point to dist (fix webpack build in IE11)
* dia.Paper - pass Backbone model options to view update (cell removal & `z` change)
* dia.CellView - fix `mouseleave` event in async mode
* linkTools.Vertices - fix vertexAdding option

23-07-2019 (v3.0.3)

* allow for automatic patch upgrades for dependencies
Expand Down
2 changes: 1 addition & 1 deletion dist/geometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/geometry.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.core.css

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

25 changes: 17 additions & 8 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -14555,11 +14555,19 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
},

checkMouseleave: function checkMouseleave(evt) {
var ref = this;
var paper = ref.paper;
if (paper.isAsync()) {
// Do the updates of the current view synchronously now
paper.dumpView(this);
}
var target = this.getEventTarget(evt, { fromPoint: true });
var view = this.paper.findView(target);
var view = paper.findView(target);
if (view === this) { return; }
// Leaving the current view
this.mouseleave(evt);
if (!view) { return; }
// Entering another view
view.mouseenter(evt);
},

Expand Down Expand Up @@ -23233,15 +23241,16 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
}
},

onCellRemoved: function(cell) {
this.requestViewUpdate(this.findViewByModel(cell), FLAG_REMOVE, 0);
onCellRemoved: function(cell, _$$1, opt) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_REMOVE, view.UPDATE_PRIORITY, opt); }
},

onCellChange: function(cell) {
onCellChange: function(cell, opt) {
if (cell === this.model.attributes.cells) { return; }
if (cell.hasChanged('z') && this.options.sorting === sortingTypes.APPROX) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY); }
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY, opt); }
}
},

Expand Down Expand Up @@ -25891,7 +25900,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
this.resetHandles();
this.renderHandles();
}
if (this.options.vertexAdded) {
if (this.options.vertexAdding) {
this.updatePath();
}
return this;
Expand Down Expand Up @@ -26796,7 +26805,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Boundary: Boundary
});

var version = "3.0.3";
var version = "3.0.4";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.core.min.css

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

4 changes: 2 additions & 2 deletions dist/joint.core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/joint.css

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

2 changes: 1 addition & 1 deletion dist/joint.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
25 changes: 17 additions & 8 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -16285,11 +16285,19 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
},

checkMouseleave: function checkMouseleave(evt) {
var ref = this;
var paper = ref.paper;
if (paper.isAsync()) {
// Do the updates of the current view synchronously now
paper.dumpView(this);
}
var target = this.getEventTarget(evt, { fromPoint: true });
var view = this.paper.findView(target);
var view = paper.findView(target);
if (view === this) { return; }
// Leaving the current view
this.mouseleave(evt);
if (!view) { return; }
// Entering another view
view.mouseenter(evt);
},

Expand Down Expand Up @@ -22004,15 +22012,16 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
}
},

onCellRemoved: function(cell) {
this.requestViewUpdate(this.findViewByModel(cell), FLAG_REMOVE, 0);
onCellRemoved: function(cell, _$$1, opt) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_REMOVE, view.UPDATE_PRIORITY, opt); }
},

onCellChange: function(cell) {
onCellChange: function(cell, opt) {
if (cell === this.model.attributes.cells) { return; }
if (cell.hasChanged('z') && this.options.sorting === sortingTypes.APPROX) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY); }
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY, opt); }
}
},

Expand Down Expand Up @@ -27317,7 +27326,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
this.resetHandles();
this.renderHandles();
}
if (this.options.vertexAdded) {
if (this.options.vertexAdding) {
this.updatePath();
}
return this;
Expand Down Expand Up @@ -28222,7 +28231,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Boundary: Boundary
});

var version = "3.0.3";
var version = "3.0.4";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.layout.DirectedGraph.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.layout.DirectedGraph.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.min.css

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

4 changes: 2 additions & 2 deletions dist/joint.min.js

Large diffs are not rendered by default.

25 changes: 17 additions & 8 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -16282,11 +16282,19 @@ var joint = (function (exports, Backbone, _, $) {
},

checkMouseleave: function checkMouseleave(evt) {
var ref = this;
var paper = ref.paper;
if (paper.isAsync()) {
// Do the updates of the current view synchronously now
paper.dumpView(this);
}
var target = this.getEventTarget(evt, { fromPoint: true });
var view = this.paper.findView(target);
var view = paper.findView(target);
if (view === this) { return; }
// Leaving the current view
this.mouseleave(evt);
if (!view) { return; }
// Entering another view
view.mouseenter(evt);
},

Expand Down Expand Up @@ -22001,15 +22009,16 @@ var joint = (function (exports, Backbone, _, $) {
}
},

onCellRemoved: function(cell) {
this.requestViewUpdate(this.findViewByModel(cell), FLAG_REMOVE, 0);
onCellRemoved: function(cell, _$$1, opt) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_REMOVE, view.UPDATE_PRIORITY, opt); }
},

onCellChange: function(cell) {
onCellChange: function(cell, opt) {
if (cell === this.model.attributes.cells) { return; }
if (cell.hasChanged('z') && this.options.sorting === sortingTypes.APPROX) {
var view = this.findViewByModel(cell);
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY); }
if (view) { this.requestViewUpdate(view, FLAG_INSERT, view.UPDATE_PRIORITY, opt); }
}
},

Expand Down Expand Up @@ -27314,7 +27323,7 @@ var joint = (function (exports, Backbone, _, $) {
this.resetHandles();
this.renderHandles();
}
if (this.options.vertexAdded) {
if (this.options.vertexAdding) {
this.updatePath();
}
return this;
Expand Down Expand Up @@ -28219,7 +28228,7 @@ var joint = (function (exports, Backbone, _, $) {
Boundary: Boundary
});

var version = "3.0.3";
var version = "3.0.4";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
4 changes: 2 additions & 2 deletions dist/joint.nowrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/joint.shapes.chess.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.chess.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.devs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.devs.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.erd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.erd.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.fsa.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.fsa.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.logic.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.logic.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.org.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.org.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.pn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.pn.min.js

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

2 changes: 1 addition & 1 deletion dist/joint.shapes.uml.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.uml.min.js

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

2 changes: 1 addition & 1 deletion dist/vectorizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.0.3 (2019-07-23) - JavaScript diagramming library
/*! JointJS v3.0.4 (2019-08-02) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/vectorizer.min.js

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

2 changes: 1 addition & 1 deletion dist/version.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var version = "3.0.3";
var version = "3.0.4";

export { version };
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"test": "grunt test"
},
"version": "3.0.3",
"version": "3.0.4",
"main": "./dist/joint.min.js",
"browser": "./dist/joint.min.js",
"style": "./dist/joint.min.css",
Expand Down

0 comments on commit 9b9ae9e

Please sign in to comment.