Skip to content

Commit

Permalink
Release v1.0.2 (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Oct 27, 2016
1 parent 732dda9 commit 718c0c9
Show file tree
Hide file tree
Showing 34 changed files with 74 additions and 149 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
27-10-2016 (v1.0.2)
* Vectorizer - fix `convertToPathData()` for polyline.
* add yarn.lock
* improve documentation
20-09-2016 (v1.0.1)
* All joint views now use the `joint-` class name prefix for their class names.
* dia.Element - make it easy to add ports to an arbitrary element, introduced API for ports manipulation
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 v1.0.1 (2016-09-20) - JavaScript diagramming library
/*! JointJS v1.0.2 (2016-10-27) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -27,8 +27,8 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.

}(this, function() {


// Geometry library.
// (c) 2011-2015 client IO

var g = (function() {

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.

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

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

34 changes: 8 additions & 26 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v1.0.1 (2016-09-20) - JavaScript diagramming library
/*! JointJS v1.0.2 (2016-10-27) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -183,8 +183,8 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
});
})();


// Geometry library.
// (c) 2011-2015 client IO

var g = (function() {

Expand Down Expand Up @@ -1213,7 +1213,6 @@ var g = (function() {
// A tiny library for making your life easier when dealing with SVG.
// The only Vectorizer dependency is the Geometry library.

// Copyright © 2012 - 2015 client IO (http://client.io)

var V;
var Vectorizer;
Expand Down Expand Up @@ -2603,18 +2602,16 @@ V = Vectorizer = (function() {

V.convertPolygonToPathData = function(polygon) {

polygon = V(polygon);

var points = V.getPointsFromSvgNode(polygon.node);
var points = V.getPointsFromSvgNode(V(polygon).node);

if (!(points.length > 0)) return null;

return V.svgPointsToPath(points);
return V.svgPointsToPath(points) + ' Z';
};

V.convertPolylineToPathData = function(polyline) {

var points = V.getPointsFromSvgNode(polyline.node);
var points = V.getPointsFromSvgNode(V(polyline).node);

if (!(points.length > 0)) return null;

Expand All @@ -2629,7 +2626,7 @@ V = Vectorizer = (function() {
points[i] = points[i].x + ' ' + points[i].y;
}

return 'M ' + points.join(' L') + ' Z';
return 'M ' + points.join(' L');
};

V.getPointsFromSvgNode = function(node) {
Expand Down Expand Up @@ -2763,14 +2760,12 @@ V = Vectorizer = (function() {

})();

// JointJS library.
// (c) 2011-2015 client IO

// Global namespace.

var joint = {

version: '1.0.1',
version: '1.0.2',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -4139,8 +4134,6 @@ var joint = {
}
};

// JointJS library.
// (c) 2011-2015 client IO

joint.mvc.View = Backbone.View.extend({

Expand Down Expand Up @@ -4278,8 +4271,6 @@ joint.mvc.View = Backbone.View.extend({

})();

// JointJS, the JavaScript diagramming library.
// (c) 2011-2015 client IO

joint.dia.GraphCells = Backbone.Collection.extend({

Expand Down Expand Up @@ -5317,8 +5308,6 @@ joint.dia.Graph = Backbone.Model.extend({

joint.util.wrapWith(joint.dia.Graph.prototype, ['resetCells', 'addCells', 'removeCells'], 'cells');

// JointJS.
// (c) 2011-2015 client IO

// joint.dia.Cell base model.
// --------------------------
Expand Down Expand Up @@ -6337,8 +6326,6 @@ joint.dia.CellView = joint.mvc.View.extend({
}
});

// JointJS library.
// (c) 2011-2015 client IO

// joint.dia.Element base model.
// -----------------------------
Expand Down Expand Up @@ -7528,11 +7515,10 @@ joint.dia.ElementView = joint.dia.CellView.extend({
}
});

// JointJS diagramming library.
// (c) 2011-2015 client IO

// joint.dia.Link base model.
// --------------------------

joint.dia.Link = joint.dia.Cell.extend({

// The default markup for links.
Expand Down Expand Up @@ -9367,8 +9353,6 @@ joint.dia.LinkView = joint.dia.CellView.extend({

});

// JointJS library.
// (c) 2011-2015 client IO

joint.dia.Paper = joint.mvc.View.extend({

Expand Down Expand Up @@ -11217,8 +11201,6 @@ joint.dia.Paper = joint.mvc.View.extend({
});
}(joint, _));

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.basic = {};

Expand Down
4 changes: 2 additions & 2 deletions dist/joint.core.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/joint.core.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/joint.css

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

42 changes: 8 additions & 34 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v1.0.1 (2016-09-20) - JavaScript diagramming library
/*! JointJS v1.0.2 (2016-10-27) - JavaScript diagramming library


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


// Geometry library.
// (c) 2011-2015 client IO

var g = (function() {

Expand Down Expand Up @@ -1213,7 +1213,6 @@ var g = (function() {
// A tiny library for making your life easier when dealing with SVG.
// The only Vectorizer dependency is the Geometry library.

// Copyright © 2012 - 2015 client IO (http://client.io)

var V;
var Vectorizer;
Expand Down Expand Up @@ -2603,18 +2602,16 @@ V = Vectorizer = (function() {

V.convertPolygonToPathData = function(polygon) {

polygon = V(polygon);

var points = V.getPointsFromSvgNode(polygon.node);
var points = V.getPointsFromSvgNode(V(polygon).node);

if (!(points.length > 0)) return null;

return V.svgPointsToPath(points);
return V.svgPointsToPath(points) + ' Z';
};

V.convertPolylineToPathData = function(polyline) {

var points = V.getPointsFromSvgNode(polyline.node);
var points = V.getPointsFromSvgNode(V(polyline).node);

if (!(points.length > 0)) return null;

Expand All @@ -2629,7 +2626,7 @@ V = Vectorizer = (function() {
points[i] = points[i].x + ' ' + points[i].y;
}

return 'M ' + points.join(' L') + ' Z';
return 'M ' + points.join(' L');
};

V.getPointsFromSvgNode = function(node) {
Expand Down Expand Up @@ -2763,14 +2760,12 @@ V = Vectorizer = (function() {

})();

// JointJS library.
// (c) 2011-2015 client IO

// Global namespace.

var joint = {

version: '1.0.1',
version: '1.0.2',

config: {
// The class name prefix config is for advanced use only.
Expand Down Expand Up @@ -4139,8 +4134,6 @@ var joint = {
}
};

// JointJS library.
// (c) 2011-2015 client IO

joint.mvc.View = Backbone.View.extend({

Expand Down Expand Up @@ -4278,8 +4271,6 @@ joint.mvc.View = Backbone.View.extend({

})();

// JointJS, the JavaScript diagramming library.
// (c) 2011-2015 client IO

joint.dia.GraphCells = Backbone.Collection.extend({

Expand Down Expand Up @@ -5317,8 +5308,6 @@ joint.dia.Graph = Backbone.Model.extend({

joint.util.wrapWith(joint.dia.Graph.prototype, ['resetCells', 'addCells', 'removeCells'], 'cells');

// JointJS.
// (c) 2011-2015 client IO

// joint.dia.Cell base model.
// --------------------------
Expand Down Expand Up @@ -6337,8 +6326,6 @@ joint.dia.CellView = joint.mvc.View.extend({
}
});

// JointJS library.
// (c) 2011-2015 client IO

// joint.dia.Element base model.
// -----------------------------
Expand Down Expand Up @@ -7528,11 +7515,10 @@ joint.dia.ElementView = joint.dia.CellView.extend({
}
});

// JointJS diagramming library.
// (c) 2011-2015 client IO

// joint.dia.Link base model.
// --------------------------

joint.dia.Link = joint.dia.Cell.extend({

// The default markup for links.
Expand Down Expand Up @@ -9367,8 +9353,6 @@ joint.dia.LinkView = joint.dia.CellView.extend({

});

// JointJS library.
// (c) 2011-2015 client IO

joint.dia.Paper = joint.mvc.View.extend({

Expand Down Expand Up @@ -11217,8 +11201,6 @@ joint.dia.Paper = joint.mvc.View.extend({
});
}(joint, _));

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.basic = {};

Expand Down Expand Up @@ -13906,8 +13888,6 @@ joint.shapes.fsa.Arrow = joint.dia.Link.extend({
}, joint.dia.Link.prototype.defaults)
});

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.org = {};

Expand Down Expand Up @@ -13960,8 +13940,6 @@ joint.shapes.org.Arrow = joint.dia.Link.extend({
}
});

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.chess = {};

Expand Down Expand Up @@ -14109,8 +14087,6 @@ joint.shapes.chess.PawnBlack = joint.shapes.basic.Generic.extend({
}, joint.shapes.basic.Generic.prototype.defaults)
});

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.pn = {};

Expand Down Expand Up @@ -14772,8 +14748,6 @@ joint.shapes.uml.Transition = joint.dia.Link.extend({
}
});

// JointJS library.
// (c) 2011-2013 client IO

joint.shapes.logic = {};

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 v1.0.1 (2016-09-20) - JavaScript diagramming library
/*! JointJS v1.0.2 (2016-10-27) - 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.

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

Large diffs are not rendered by default.

Loading

0 comments on commit 718c0c9

Please sign in to comment.