Skip to content

Commit

Permalink
Build 3.16.4
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Nov 12, 2020
1 parent 727e98b commit 79c13af
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 33 deletions.
32 changes: 16 additions & 16 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"build/cytoscape.umd.js": {
"bundled": 933823,
"minified": 347137,
"gzipped": 108105
"bundled": 933917,
"minified": 347224,
"gzipped": 108156
},
"build/cytoscape.cjs.js": {
"bundled": 860802,
"minified": 366471,
"gzipped": 110488
"bundled": 860896,
"minified": 366558,
"gzipped": 110536
},
"build/cytoscape.esm.js": {
"bundled": 860629,
"minified": 366328,
"gzipped": 110450,
"bundled": 860723,
"minified": 366415,
"gzipped": 110497,
"treeshaked": {
"rollup": {
"code": 341785,
"code": 341872,
"import_statements": 51
},
"webpack": {
"code": 343173
"code": 343260
}
}
},
"build/cytoscape.esm.min.js": {
"bundled": 346942,
"minified": 346444,
"gzipped": 107927,
"bundled": 347029,
"minified": 346531,
"gzipped": 107982,
"treeshaked": {
"rollup": {
"code": 345938,
"code": 346025,
"import_statements": 0
},
"webpack": {
"code": 347226
"code": 347313
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions dist/cytoscape.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ var Element = function Element(cy, params) {
var bypass = params.style || params.css;

if (bypass) {
warn('Setting a `style` bypass at element creation is deprecated');
warn('Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead.');
this.style(bypass);
}

Expand Down Expand Up @@ -27306,7 +27306,7 @@ ETCp.getElement = function (ele, bb, pxRatio, lvl, reason) {
var zoom = r.cy.zoom();
var lookup = this.lookup;

if (bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible()) {
if (!bb || bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible() || !ele.removed()) {
return null;
}

Expand Down Expand Up @@ -31579,7 +31579,7 @@ sheetfn.appendToStyle = function (style) {
return style;
};

var version = "3.16.3";
var version = "3.16.4";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
6 changes: 3 additions & 3 deletions dist/cytoscape.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ var Element = function Element(cy, params) {
var bypass = params.style || params.css;

if (bypass) {
warn('Setting a `style` bypass at element creation is deprecated');
warn('Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead.');
this.style(bypass);
}

Expand Down Expand Up @@ -27302,7 +27302,7 @@ ETCp.getElement = function (ele, bb, pxRatio, lvl, reason) {
var zoom = r.cy.zoom();
var lookup = this.lookup;

if (bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible()) {
if (!bb || bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible() || !ele.removed()) {
return null;
}

Expand Down Expand Up @@ -31575,7 +31575,7 @@ sheetfn.appendToStyle = function (style) {
return style;
};

var version = "3.16.3";
var version = "3.16.4";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
4 changes: 2 additions & 2 deletions dist/cytoscape.esm.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/cytoscape.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/cytoscape.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@
var bypass = params.style || params.css;

if (bypass) {
warn('Setting a `style` bypass at element creation is deprecated');
warn('Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead.');
this.style(bypass);
}

Expand Down Expand Up @@ -28065,7 +28065,7 @@
var zoom = r.cy.zoom();
var lookup = this.lookup;

if (bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible()) {
if (!bb || bb.w === 0 || bb.h === 0 || isNaN(bb.w) || isNaN(bb.h) || !ele.visible() || !ele.removed()) {
return null;
}

Expand Down Expand Up @@ -32338,7 +32338,7 @@
return style;
};

var version = "3.16.3";
var version = "3.16.4";

var cytoscape = function cytoscape(options) {
// if no options specified, use default
Expand Down
16 changes: 14 additions & 2 deletions documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -670,15 +670,21 @@ <h2 id="introduction/packages">Packages <a href="#introduction/packages"><span c
</ul>
<h2 id="introduction/releases">Releases <a href="#introduction/releases"><span class="fa fa-bookmark"></span></a></h2>
<ul>
<li>3.17<ul>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.17.0+is%3Aclosed">3.17.0</a></li>
</ul>
</li>
<li>3.16<ul>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.16.4+is%3Aclosed">3.16.4</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.16.3+is%3Aclosed">3.16.3</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.16.2+is%3Aclosed">3.16.2</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.16.1+is%3Aclosed">3.16.1</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.16.0+is%3Aclosed">3.16.0</a></li>
</ul>
</li>
<li>3.15<ul>
<li>[3.15.4(<a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.4+is%3Aclosed">https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.4+is%3Aclosed</a>)</li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.5+is%3Aclosed">3.15.5</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.4+is%3Aclosed">3.15.4</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.3+is%3Aclosed">3.15.3</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.2+is%3Aclosed">3.15.2</a></li>
<li><a href="https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.15.1+is%3Aclosed">3.15.1</a></li>
Expand Down Expand Up @@ -1097,7 +1103,13 @@ <h2 id="notation/elements-json">Elements JSON <a href="#notation/elements-json">

<span class="hljs-attr">pannable</span>: <span class="hljs-literal">false</span>, <span class="hljs-comment">// whether dragging the node causes panning instead of grabbing</span>

<span class="hljs-attr">classes</span>: [<span class="hljs-string">'foo'</span>, <span class="hljs-string">'bar'</span>] <span class="hljs-comment">// an array (or a space separated string) of class names that the element has</span>
<span class="hljs-attr">classes</span>: [<span class="hljs-string">'foo'</span>, <span class="hljs-string">'bar'</span>], <span class="hljs-comment">// an array (or a space separated string) of class names that the element has</span>

<span class="hljs-comment">// DO NOT USE THE `style` FIELD UNLESS ABSOLUTELY NECESSARY</span>
<span class="hljs-comment">// USE THE STYLESHEET INSTEAD</span>
<span class="hljs-attr">style</span>: { <span class="hljs-comment">// style property overrides </span>
<span class="hljs-string">'background-color'</span>: <span class="hljs-string">'red'</span>
}
},

{ <span class="hljs-comment">// node n2</span>
Expand Down
4 changes: 2 additions & 2 deletions documentation/js/cytoscape.min.js

Large diffs are not rendered by default.

0 comments on commit 79c13af

Please sign in to comment.