Skip to content

Commit

Permalink
Release v2.1.1 (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored and vtalas committed May 7, 2018
1 parent 711e880 commit c884521
Show file tree
Hide file tree
Showing 36 changed files with 1,750 additions and 1,740 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
7-5-2018 (v2.1.1)
* layout.PortLabel: fix manual position
* anchors: prevent exception when reference node not in the DOM

27-4-2018 (v2.1.0)
* update Tutorials
* shapes.Standard - add new set of high-performance elements and links
Expand Down
4 changes: 2 additions & 2 deletions dist/geometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -1478,7 +1478,7 @@ var g = (function() {
var start = this.start;
var end = this.end;

fromStart = true;
var fromStart = true;
if (length < 0) {
fromStart = false; // negative lengths mean start calculation from end point
length = -length; // absolute value
Expand Down
6 changes: 3 additions & 3 deletions dist/geometry.min.js

Large diffs are not rendered by default.

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.

16 changes: 9 additions & 7 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -1886,7 +1886,7 @@ var g = (function() {
var start = this.start;
var end = this.end;

fromStart = true;
var fromStart = true;
if (length < 0) {
fromStart = false; // negative lengths mean start calculation from end point
length = -length; // absolute value
Expand Down Expand Up @@ -7745,7 +7745,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.1.0',
version: '2.1.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -14376,7 +14376,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
router = this.get('router');
var router = this.get('router');
if (!router) {
if (this.get('manhattan')) return { name: 'orthogonal' }; // backwards compatibility
return null;
Expand All @@ -14397,7 +14397,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
connector = this.get('connector');
var connector = this.get('connector');
if (!connector) {
if (this.get('smooth')) return { name: 'smooth' }; // backwards compatibility
return null;
Expand Down Expand Up @@ -23089,7 +23089,7 @@ joint.connectors.jumpover = (function(_, g, util) {
joint.layout.PortLabel = {

manual: function(portPosition, elBBox, opt) {
return labelAttributes(opt, portPosition)
return labelAttributes(opt, elBBox);
},

left: function(portPosition, elBBox, opt) {
Expand Down Expand Up @@ -23352,7 +23352,9 @@ joint.highlighters.stroke = {

if (ref instanceof Element) {
var refView = this.paper.findView(ref);
var refPoint = refView.getNodeBBox(ref).center();
var refPoint = (refView)
? refView.getNodeBBox(ref).center()
: new g.Point()

return fn.call(this, view, magnet, refPoint, opt)
}
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.

14 changes: 7 additions & 7 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
16 changes: 9 additions & 7 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -1886,7 +1886,7 @@ var g = (function() {
var start = this.start;
var end = this.end;

fromStart = true;
var fromStart = true;
if (length < 0) {
fromStart = false; // negative lengths mean start calculation from end point
length = -length; // absolute value
Expand Down Expand Up @@ -7745,7 +7745,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.1.0',
version: '2.1.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -14376,7 +14376,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
router = this.get('router');
var router = this.get('router');
if (!router) {
if (this.get('manhattan')) return { name: 'orthogonal' }; // backwards compatibility
return null;
Expand All @@ -14397,7 +14397,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
connector = this.get('connector');
var connector = this.get('connector');
if (!connector) {
if (this.get('smooth')) return { name: 'smooth' }; // backwards compatibility
return null;
Expand Down Expand Up @@ -23089,7 +23089,7 @@ joint.connectors.jumpover = (function(_, g, util) {
joint.layout.PortLabel = {

manual: function(portPosition, elBBox, opt) {
return labelAttributes(opt, portPosition)
return labelAttributes(opt, elBBox);
},

left: function(portPosition, elBBox, opt) {
Expand Down Expand Up @@ -23352,7 +23352,9 @@ joint.highlighters.stroke = {

if (ref instanceof Element) {
var refView = this.paper.findView(ref);
var refPoint = refView.getNodeBBox(ref).center();
var refPoint = (refView)
? refView.getNodeBBox(ref).center()
: new g.Point()

return fn.call(this, view, magnet, refPoint, opt)
}
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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.

14 changes: 7 additions & 7 deletions dist/joint.min.js

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -1848,7 +1848,7 @@ var g = (function() {
var start = this.start;
var end = this.end;

fromStart = true;
var fromStart = true;
if (length < 0) {
fromStart = false; // negative lengths mean start calculation from end point
length = -length; // absolute value
Expand Down Expand Up @@ -7707,7 +7707,7 @@ V = Vectorizer = (function() {

var joint = {

version: '2.1.0',
version: '2.1.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -14338,7 +14338,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
router = this.get('router');
var router = this.get('router');
if (!router) {
if (this.get('manhattan')) return { name: 'orthogonal' }; // backwards compatibility
return null;
Expand All @@ -14359,7 +14359,7 @@ joint.dia.Link = joint.dia.Cell.extend({

// getter
if (name === undefined) {
connector = this.get('connector');
var connector = this.get('connector');
if (!connector) {
if (this.get('smooth')) return { name: 'smooth' }; // backwards compatibility
return null;
Expand Down Expand Up @@ -23051,7 +23051,7 @@ joint.connectors.jumpover = (function(_, g, util) {
joint.layout.PortLabel = {

manual: function(portPosition, elBBox, opt) {
return labelAttributes(opt, portPosition)
return labelAttributes(opt, elBBox);
},

left: function(portPosition, elBBox, opt) {
Expand Down Expand Up @@ -23314,7 +23314,9 @@ joint.highlighters.stroke = {

if (ref instanceof Element) {
var refView = this.paper.findView(ref);
var refPoint = refView.getNodeBBox(ref).center();
var refPoint = (refView)
? refView.getNodeBBox(ref).center()
: new g.Point()

return fn.call(this, view, magnet, refPoint, opt)
}
Expand Down
14 changes: 7 additions & 7 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.1.0 (2018-04-26) - JavaScript diagramming library
/*! JointJS v2.1.1 (2018-05-07) - 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.

Loading

0 comments on commit c884521

Please sign in to comment.