Skip to content

Commit

Permalink
Release v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Nov 15, 2017
1 parent c0fc03e commit 02fa380
Show file tree
Hide file tree
Showing 36 changed files with 78 additions and 66 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
15-11-2017 (v2.0.1)
* toggleFullscreen() - fix canceling fullscreen in an iframe
* dia.Link - fix default label font color (IE)
* dia.Cell - fix removeProp() on arrays
* dia.Graph - fromJSON() does not ignore dry option anymore

23-10-2017 (v2.0.0)
* Typescript definitions refactored (breaking change of the release)
* JointJS now compatible with Lodash v4 (see `demo/lodash4` for instructions)
* Geometry - add Polyline with pointAtLength(), length(), closesPointLength(), closestPoint() and convexHull()
* Geometry - add Polyline with pointAtLength(), length(), closestPointLength(), closestPoint() and convexHull()
* Geometry - add cross(), dot(), squaredDistance(), closestPoint(), closestPointNormalizedLength(), vector(), vectorAngle(), angleBetween() to Point
* Vectorizer - add children() and getBBox()
* Vectorizer - fix parseTransformString() and matrixToTransformString()
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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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.

18 changes: 10 additions & 8 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -3847,7 +3847,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.0.0',
version: '2.0.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -5148,7 +5148,8 @@ var joint = {
*/
toggleFullScreen: function(el) {

el = el || window.top.document.body;
var topDocument = window.top.document;
el = el || topDocument.body;

function prefixedResult(el, prop) {

Expand All @@ -5162,9 +5163,9 @@ var joint = {
}
}

if (prefixedResult(document, 'FullscreenElement') || prefixedResult(document, 'FullScreenElement')) {
prefixedResult(document, 'ExitFullscreen') || // Spec.
prefixedResult(document, 'CancelFullScreen'); // Firefox
if (prefixedResult(topDocument, 'FullscreenElement') || prefixedResult(topDocument, 'FullScreenElement')) {
prefixedResult(topDocument, 'ExitFullscreen') || // Spec.
prefixedResult(topDocument, 'CancelFullScreen'); // Firefox
} else {
prefixedResult(el, 'RequestFullscreen') || // Spec.
prefixedResult(el, 'RequestFullScreen'); // Firefox
Expand Down Expand Up @@ -7443,7 +7444,7 @@ joint.dia.Cell = Backbone.Model.extend({
// A nested property
var property = pathArray[0];
var nestedPath = pathArray.slice(1);
var propertyValue = joint.util.merge({}, this.get(property));
var propertyValue = joint.util.cloneDeep(this.get(property));

joint.util.unsetByPath(propertyValue, nestedPath, '/');

Expand Down Expand Up @@ -9610,12 +9611,13 @@ joint.dia.LinkView = joint.dia.CellView.extend({
text: {
textAnchor: 'middle',
fontSize: 14,
fill: '#000000',
pointerEvents: 'none',
yAlignment: 'middle'
},
rect: {
ref: 'text',
fill: 'white',
fill: '#ffffff',
rx: 3,
ry: 3,
refWidth: 1,
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.

8 changes: 4 additions & 4 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
18 changes: 10 additions & 8 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -3847,7 +3847,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.0.0',
version: '2.0.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -5148,7 +5148,8 @@ var joint = {
*/
toggleFullScreen: function(el) {

el = el || window.top.document.body;
var topDocument = window.top.document;
el = el || topDocument.body;

function prefixedResult(el, prop) {

Expand All @@ -5162,9 +5163,9 @@ var joint = {
}
}

if (prefixedResult(document, 'FullscreenElement') || prefixedResult(document, 'FullScreenElement')) {
prefixedResult(document, 'ExitFullscreen') || // Spec.
prefixedResult(document, 'CancelFullScreen'); // Firefox
if (prefixedResult(topDocument, 'FullscreenElement') || prefixedResult(topDocument, 'FullScreenElement')) {
prefixedResult(topDocument, 'ExitFullscreen') || // Spec.
prefixedResult(topDocument, 'CancelFullScreen'); // Firefox
} else {
prefixedResult(el, 'RequestFullscreen') || // Spec.
prefixedResult(el, 'RequestFullScreen'); // Firefox
Expand Down Expand Up @@ -7443,7 +7444,7 @@ joint.dia.Cell = Backbone.Model.extend({
// A nested property
var property = pathArray[0];
var nestedPath = pathArray.slice(1);
var propertyValue = joint.util.merge({}, this.get(property));
var propertyValue = joint.util.cloneDeep(this.get(property));

joint.util.unsetByPath(propertyValue, nestedPath, '/');

Expand Down Expand Up @@ -9610,12 +9611,13 @@ joint.dia.LinkView = joint.dia.CellView.extend({
text: {
textAnchor: 'middle',
fontSize: 14,
fill: '#000000',
pointerEvents: 'none',
yAlignment: 'middle'
},
rect: {
ref: 'text',
fill: 'white',
fill: '#ffffff',
rx: 3,
ry: 3,
refWidth: 1,
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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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.

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

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -3809,7 +3809,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.0.0',
version: '2.0.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -5110,7 +5110,8 @@ var joint = {
*/
toggleFullScreen: function(el) {

el = el || window.top.document.body;
var topDocument = window.top.document;
el = el || topDocument.body;

function prefixedResult(el, prop) {

Expand All @@ -5124,9 +5125,9 @@ var joint = {
}
}

if (prefixedResult(document, 'FullscreenElement') || prefixedResult(document, 'FullScreenElement')) {
prefixedResult(document, 'ExitFullscreen') || // Spec.
prefixedResult(document, 'CancelFullScreen'); // Firefox
if (prefixedResult(topDocument, 'FullscreenElement') || prefixedResult(topDocument, 'FullScreenElement')) {
prefixedResult(topDocument, 'ExitFullscreen') || // Spec.
prefixedResult(topDocument, 'CancelFullScreen'); // Firefox
} else {
prefixedResult(el, 'RequestFullscreen') || // Spec.
prefixedResult(el, 'RequestFullScreen'); // Firefox
Expand Down Expand Up @@ -7405,7 +7406,7 @@ joint.dia.Cell = Backbone.Model.extend({
// A nested property
var property = pathArray[0];
var nestedPath = pathArray.slice(1);
var propertyValue = joint.util.merge({}, this.get(property));
var propertyValue = joint.util.cloneDeep(this.get(property));

joint.util.unsetByPath(propertyValue, nestedPath, '/');

Expand Down Expand Up @@ -9572,12 +9573,13 @@ joint.dia.LinkView = joint.dia.CellView.extend({
text: {
textAnchor: 'middle',
fontSize: 14,
fill: '#000000',
pointerEvents: 'none',
yAlignment: 'middle'
},
rect: {
ref: 'text',
fill: 'white',
fill: '#ffffff',
rx: 3,
ry: 3,
refWidth: 1,
Expand Down
8 changes: 4 additions & 4 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 v2.0.0 (2017-10-23) - JavaScript diagramming library
/*! JointJS v2.0.1 (2017-11-15) - 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 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": "2.0.0",
"version": "2.0.1",
"main": "./dist/joint.min.js",
"style": "./dist/joint.min.css",
"types": "./dist/joint.d.ts",
Expand Down

0 comments on commit 02fa380

Please sign in to comment.