Skip to content

Commit

Permalink
Build 3.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Sep 4, 2019
1 parent 273252b commit b4cbbe6
Show file tree
Hide file tree
Showing 6 changed files with 101 additions and 71 deletions.
22 changes: 11 additions & 11 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"build/cytoscape.umd.js": {
"bundled": 903577,
"minified": 335714,
"gzipped": 104280
"bundled": 903827,
"minified": 335884,
"gzipped": 104318
},
"build/cytoscape.cjs.js": {
"bundled": 832082,
"minified": 353509,
"gzipped": 106508
"bundled": 832316,
"minified": 353691,
"gzipped": 106542
},
"build/cytoscape.esm.js": {
"bundled": 831909,
"minified": 353366,
"gzipped": 106473,
"bundled": 832143,
"minified": 353548,
"gzipped": 106508,
"treeshaked": {
"rollup": {
"code": 330367,
"code": 330537,
"import_statements": 51
},
"webpack": {
"code": 332234
"code": 332404
}
}
}
Expand Down
24 changes: 17 additions & 7 deletions dist/cytoscape.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9505,6 +9505,16 @@ elesfn$k.padding = function () {
}
};

elesfn$k.paddedHeight = function () {
var ele = this[0];
return ele.height() + 2 * ele.padding();
};

elesfn$k.paddedWidth = function () {
var ele = this[0];
return ele.width() + 2 * ele.padding();
};

var widthHeight = elesfn$k;

var ifEdge = function ifEdge(ele, getValue) {
Expand Down Expand Up @@ -29076,8 +29086,8 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
x: 0,
y: 0
} : ele.position(),
width = ele.width(),
height = ele.height();
width = ele.paddedWidth(),
height = ele.paddedHeight();
gradientStyle = context.createRadialGradient(pos.x, pos.y, 0, pos.x, pos.y, Math.max(width, height));
}
} else {
Expand All @@ -29091,8 +29101,8 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
x: 0,
y: 0
} : ele.position(),
_width = ele.width(),
_height = ele.height(),
_width = ele.paddedWidth(),
_height = ele.paddedHeight(),
halfWidth = _width / 2,
halfHeight = _height / 2;

Expand All @@ -29108,11 +29118,11 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
break;

case 'to-left':
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
break;

case 'to-right':
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
break;

case 'to-bottom-right':
Expand Down Expand Up @@ -30681,7 +30691,7 @@ sheetfn.appendToStyle = function (style) {
return style;
};

var version = "3.9.1";
var version = "3.9.2";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
24 changes: 17 additions & 7 deletions dist/cytoscape.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9501,6 +9501,16 @@ elesfn$k.padding = function () {
}
};

elesfn$k.paddedHeight = function () {
var ele = this[0];
return ele.height() + 2 * ele.padding();
};

elesfn$k.paddedWidth = function () {
var ele = this[0];
return ele.width() + 2 * ele.padding();
};

var widthHeight = elesfn$k;

var ifEdge = function ifEdge(ele, getValue) {
Expand Down Expand Up @@ -29072,8 +29082,8 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
x: 0,
y: 0
} : ele.position(),
width = ele.width(),
height = ele.height();
width = ele.paddedWidth(),
height = ele.paddedHeight();
gradientStyle = context.createRadialGradient(pos.x, pos.y, 0, pos.x, pos.y, Math.max(width, height));
}
} else {
Expand All @@ -29087,8 +29097,8 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
x: 0,
y: 0
} : ele.position(),
_width = ele.width(),
_height = ele.height(),
_width = ele.paddedWidth(),
_height = ele.paddedHeight(),
halfWidth = _width / 2,
halfHeight = _height / 2;

Expand All @@ -29104,11 +29114,11 @@ CRp$6.createGradientStyleFor = function (context, shapeStyleName, ele, fill, opa
break;

case 'to-left':
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
break;

case 'to-right':
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
break;

case 'to-bottom-right':
Expand Down Expand Up @@ -30677,7 +30687,7 @@ sheetfn.appendToStyle = function (style) {
return style;
};

var version = "3.9.1";
var version = "3.9.2";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
2 changes: 1 addition & 1 deletion dist/cytoscape.min.js

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions dist/cytoscape.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -10264,6 +10264,16 @@
}
};

elesfn$k.paddedHeight = function () {
var ele = this[0];
return ele.height() + 2 * ele.padding();
};

elesfn$k.paddedWidth = function () {
var ele = this[0];
return ele.width() + 2 * ele.padding();
};

var widthHeight = elesfn$k;

var ifEdge = function ifEdge(ele, getValue) {
Expand Down Expand Up @@ -29835,8 +29845,8 @@
x: 0,
y: 0
} : ele.position(),
width = ele.width(),
height = ele.height();
width = ele.paddedWidth(),
height = ele.paddedHeight();
gradientStyle = context.createRadialGradient(pos.x, pos.y, 0, pos.x, pos.y, Math.max(width, height));
}
} else {
Expand All @@ -29850,8 +29860,8 @@
x: 0,
y: 0
} : ele.position(),
_width = ele.width(),
_height = ele.height(),
_width = ele.paddedWidth(),
_height = ele.paddedHeight(),
halfWidth = _width / 2,
halfHeight = _height / 2;

Expand All @@ -29867,11 +29877,11 @@
break;

case 'to-left':
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
break;

case 'to-right':
gradientStyle = context.createLinearGradient(_pos.x + halfWidth, _pos.y, _pos.x - halfWidth, _pos.y);
gradientStyle = context.createLinearGradient(_pos.x - halfWidth, _pos.y, _pos.x + halfWidth, _pos.y);
break;

case 'to-bottom-right':
Expand Down Expand Up @@ -31440,7 +31450,7 @@
return style;
};

var version = "3.9.1";
var version = "3.9.2";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
Loading

0 comments on commit b4cbbe6

Please sign in to comment.