Skip to content

Commit

Permalink
Release v2.2.1 (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbynekstara authored Nov 12, 2018
1 parent af51fa8 commit 4fd3222
Show file tree
Hide file tree
Showing 35 changed files with 80 additions and 74 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
12-11-2018 (v2.2.1)
* utils - fix breakText() definition in Typescript
* dia.CellView - findAttribute() docs
* grunt - wrapper files use file extension .js.partial
* demos - improvements

30-10-2018 (v2.2.0)
* update insecure dependencies (mainly Lodash v4.17.11)
* use Karma+Istanbul to run tests
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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.

8 changes: 4 additions & 4 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - JavaScript diagramming library


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

var joint = {

version: '2.2.0',
version: '2.2.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -23755,7 +23755,7 @@ joint.highlighters.stroke = {
ry: 0,
attrs: {
'stroke-width': 3,
stroke: '#FEB663'
'stroke': '#FEB663'
}
},

Expand Down Expand Up @@ -23803,7 +23803,7 @@ joint.highlighters.stroke = {
}

var highlightVel = V('path').attr({
d: pathData,
'd': pathData,
'pointer-events': 'none',
'vector-effect': 'non-scaling-stroke',
'fill': 'none'
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.

58 changes: 29 additions & 29 deletions dist/joint.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -227,24 +227,24 @@ export namespace g {

bbox(): Rect;

clone(): Ellipse;

normalizedDistance(point: PlainPoint): number;
center(): Point;

inflate(dx?: number, dy?: number): this;
clone(): Ellipse;

containsPoint(p: PlainPoint): boolean;

center(): Point;

tangentTheta(p: PlainPoint): number;

equals(ellipse: Ellipse): boolean;

inflate(dx?: number, dy?: number): this;

intersectionWithLine(l: Line): Point[] | null;

intersectionWithLineFromCenterToPoint(p: PlainPoint, angle?: number): Point;

normalizedDistance(point: PlainPoint): number;

tangentTheta(p: PlainPoint): number;

toString(): string;

static fromRect(rect: PlainRect): Ellipse;
Expand Down Expand Up @@ -430,18 +430,22 @@ export namespace g {

adhereToRect(r: Rect): this;

angleBetween(p1: PlainPoint, p2: PlainPoint) : number;

bearing(p: Point): CardinalDirection;

changeInAngle(dx: number, dy: number, ref: PlainPoint | string): number;

clone(): Point;

cross(p1: PlainPoint, p2: PlainPoint) : number;

difference(dx?: number, dy?: number): Point;
difference(p: PlainPoint): Point;

distance(p: PlainPoint | string): number;

squaredDistance(p: PlainPoint | string): number;
dot(p: PlainPoint): number;

equals(p: Point): boolean;

Expand All @@ -468,26 +472,22 @@ export namespace g {

snapToGrid(gx: number, gy?: number): this;

theta(p: PlainPoint | string): number;

translate(tx?: number, ty?: number): this;
translate(tx: PlainPoint): this;

angleBetween(p1: PlainPoint, p2: PlainPoint) : number;
squaredDistance(p: PlainPoint | string): number;

vectorAngle(p: PlainPoint) : number;
theta(p: PlainPoint | string): number;

toJSON(): PlainPoint;

toPolar(origin?: PlainPoint | string): this;

toString(): string;

update(x?: number, y?: number): this;
translate(tx?: number, ty?: number): this;
translate(tx: PlainPoint): this;

dot(p: PlainPoint): number;
update(x?: number, y?: number): this;

cross(p1: PlainPoint, p2: PlainPoint) : number;
vectorAngle(p: PlainPoint) : number;

static fromPolar(distance: number, angle: number, origin?: PlainPoint | string): Point;

Expand Down Expand Up @@ -579,6 +579,8 @@ export namespace g {

equals(r: PlainRect): boolean;

inflate(dx?: number, dy?: number): this;

intersect(r: Rect): Rect | null;

intersectionWithLine(l: Line): Point[] | null;
Expand All @@ -589,15 +591,17 @@ export namespace g {

leftMiddle(): Point;

moveAndExpand(r: PlainRect): this;
maxRectScaleToFit(rect: PlainRect, origin?: PlainPoint): Scale;

offset(dx?: number, dy?: number): this;
offset(p: PlainPoint): this;
maxRectUniformScaleToFit(rect: PlainRect, origin?: PlainPoint): number;

inflate(dx?: number, dy?: number): this;
moveAndExpand(r: PlainRect): this;

normalize(): this;

offset(dx?: number, dy?: number): this;
offset(p: PlainPoint): this;

origin(): Point;

pointNearestToPoint(point: PlainPoint | string): Point;
Expand All @@ -610,10 +614,6 @@ export namespace g {

scale(sx: number, sy: number, origin?: PlainPoint | string): this;

maxRectScaleToFit(rect: PlainRect, origin?: PlainPoint): Scale;

maxRectUniformScaleToFit(rect: PlainRect, origin?: PlainPoint): number;

sideNearestToPoint(point: PlainPoint | string): RectangleSide;

snapToGrid(gx: number, gy?: number): this;
Expand Down Expand Up @@ -3001,7 +3001,7 @@ export namespace util {

export function parseCssNumeric(val: any, restrictUnits: string | string[]): { value: number; unit?: string } | null;

export function breakText(text: string, size: dia.Size, attrs?: attributes.NativeSVGAttributes, opt?: {
export function breakText(text: string, size: { width: number; height?: number; }, attrs?: attributes.NativeSVGAttributes, opt?: {
svgDocument?: SVGElement;
separator?: string | any;
eol?: string;
Expand Down
8 changes: 4 additions & 4 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - JavaScript diagramming library


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

var joint = {

version: '2.2.0',
version: '2.2.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -23755,7 +23755,7 @@ joint.highlighters.stroke = {
ry: 0,
attrs: {
'stroke-width': 3,
stroke: '#FEB663'
'stroke': '#FEB663'
}
},

Expand Down Expand Up @@ -23803,7 +23803,7 @@ joint.highlighters.stroke = {
}

var highlightVel = V('path').attr({
d: pathData,
'd': pathData,
'pointer-events': 'none',
'vector-effect': 'non-scaling-stroke',
'fill': 'none'
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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.

8 changes: 4 additions & 4 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v2.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - JavaScript diagramming library


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

var joint = {

version: '2.2.0',
version: '2.2.1',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -23717,7 +23717,7 @@ joint.highlighters.stroke = {
ry: 0,
attrs: {
'stroke-width': 3,
stroke: '#FEB663'
'stroke': '#FEB663'
}
},

Expand Down Expand Up @@ -23765,7 +23765,7 @@ joint.highlighters.stroke = {
}

var highlightVel = V('path').attr({
d: pathData,
'd': pathData,
'pointer-events': 'none',
'vector-effect': 'non-scaling-stroke',
'fill': 'none'
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 v2.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.2.0 (2018-10-30) - JavaScript diagramming library
/*! JointJS v2.2.1 (2018-11-12) - 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.

Loading

0 comments on commit 4fd3222

Please sign in to comment.