Skip to content

Instantly share code, notes, and snippets.

@gauravgrover95
Created March 16, 2018 16:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gauravgrover95/0b1c940afcc453701bf29334beda24f0 to your computer and use it in GitHub Desktop.
Save gauravgrover95/0b1c940afcc453701bf29334beda24f0 to your computer and use it in GitHub Desktop.
Packing ccNetViz library with webpack
--- appending module.exports into dist/ccNetViz.js (import fix)
--- Successfully packed into dist/ccNetViz.js
Compiling ccNetViz library with Google closure compiler
--- complilation exited with code 25
java -jar /Users/gauravgrover/Projects/GSoC 2018/ccnetviz/ccNetViz/node_modules/google-closure-compiler/compiler.jar --js=dist/ccNetViz.js --compilation_level=ADVANCED
dist/ccNetViz.js:638: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var ns = (0, _primitiveTools.getPartitionStyle)(options.styles[n.style], nodeStyle, "label");
^
dist/ccNetViz.js:1305: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var nodesParts = (0, _primitiveTools.partitionByStyle)(nodes);
^
dist/ccNetViz.js:1306: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var circlesParts = (0, _primitiveTools.partitionByStyle)(circles);
^
dist/ccNetViz.js:1307: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var linesParts = (0, _primitiveTools.partitionByStyle)(lines);
^
dist/ccNetViz.js:1308: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var curvesParts = (0, _primitiveTools.partitionByStyle)(curves);
^
dist/ccNetViz.js:2051: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
style: (0, _primitiveTools.getPartitionStyle)(styles[p], baseStyle, styleProperty),
^
dist/ccNetViz.js:2780: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
accumulate(q = (0, _quadTree2.default)(nodes), alpha, charges);
^
dist/ccNetViz.js:3105: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var nd = (0, _utils.degrees)(this._nodes, this._edges);
^
dist/ccNetViz.js:3283: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var depth = (0, _utils.getDepth)(root);
^
dist/ccNetViz.js:3285: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var r = (0, _utils.getRanges)(depth);
^
dist/ccNetViz.js:3297: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
r = (0, _utils.getRanges)(leafs);
^
dist/ccNetViz.js:3391: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var depth = (0, _utils.getDepth)(root);
^
dist/ccNetViz.js:3393: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var r = (0, _utils.getRanges)(depth);
^
dist/ccNetViz.js:3406: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
r = (0, _utils.getRanges)(leafs);
^
dist/ccNetViz.js:3926: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var A = (0, _utils.create2dArray)(this._nodes.length, this._nodes.length);
^
dist/ccNetViz.js:3986: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class LuDecomposition$$1 {
^
dist/ccNetViz.js:4214: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class SingularValueDecomposition$$1 {
^
dist/ccNetViz.js:5097: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class Matrix extends superCtor {
^
dist/ccNetViz.js:5421: WARNING - Misplaced @abstract annotation. function with a non-empty body cannot be abstract
set(rowIndex, columnIndex, value) { // eslint-disable-line no-unused-vars
^
dist/ccNetViz.js:5432: WARNING - Misplaced @abstract annotation. function with a non-empty body cannot be abstract
get(rowIndex, columnIndex) { // eslint-disable-line no-unused-vars
^
dist/ccNetViz.js:7151: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class QrDecomposition$$1 {
^
dist/ccNetViz.js:7355: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class EigenvalueDecomposition$$1 {
^
dist/ccNetViz.js:8145: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
class CholeskyDecomposition$$1 {
^
dist/ccNetViz.js:8412: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var A = (0, _utils.create2dArray)(this._nodes.length, this._nodes.length);
^
dist/ccNetViz.js:8636: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var nd = (0, _utils.degrees)(this._nodes, this._edges);
^
dist/ccNetViz.js:8685: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var nd = (0, _utils.degrees)(this._nodes, this._edges);
^
dist/ccNetViz.js:8747: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var nd = (0, _utils.degrees)(this._nodes, this._edges);
^
dist/ccNetViz.js:8943: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if ((0, _geomtools.eq)(len2, 0)) {
^
dist/ccNetViz.js:8976: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.pointInRect)(this.e.x, this.e.y, x1, y1, x2, y2);
^
dist/ccNetViz.js:8981: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.distance2)(x, y, this.e.x, this.e.y);
^
dist/ccNetViz.js:9063: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.rectIntersectsRect)(x1, y1, x2, y2, t[0], t[1], t[2], t[3]);
^
dist/ccNetViz.js:9070: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
if ((0, _geomtools.pointInRect)(x, y, t[0], t[1], t[2], t[3])) return 0;
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9073: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return Math.min((0, _geomtools.distance2)(t[0], t[1]), (0, _geomtools.distance2)(t[2], t[3]), (0, _geomtools.distance2)(t[0], t[3]), (0, _geomtools.distance2)(t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[2], t[1]), (0, _geomtools.pDistance2)(x, y, t[0], t[3], t[2], t[3]), (0, _geomtools.pDistance2)(x, y, t[0], t[1], t[0], t[3]), (0, _geomtools.pDistance2)(x, y, t[2], t[1], t[2], t[3]));
^
dist/ccNetViz.js:9129: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.lineIntersectsRect)(p[0], p[1], p[2], p[3], x1, y1, x2, y2);
^
dist/ccNetViz.js:9136: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.pDistance2)(x, y, p[0], p[1], p[2], p[3]);
^
dist/ccNetViz.js:9182: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.getBBFromPoints)(v);
^
dist/ccNetViz.js:9188: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.bezierIntersectsRect)(v[0], v[1], v[2], v[3], v[4], v[5], x1, y1, x2, y2) || (0, _geomtools.bezierIntersectsRect)(v[2], v[3], v[4], v[5], v[6], v[7], x1, y1, x2, y2);
^
dist/ccNetViz.js:9188: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.bezierIntersectsRect)(v[0], v[1], v[2], v[3], v[4], v[5], x1, y1, x2, y2) || (0, _geomtools.bezierIntersectsRect)(v[2], v[3], v[4], v[5], v[6], v[7], x1, y1, x2, y2);
^
dist/ccNetViz.js:9196: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var d1 = (0, _geomtools.distance2ToBezier)(x, y, v[0], v[1], v[2], v[3], v[4], v[5]);
^
dist/ccNetViz.js:9197: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var d2 = (0, _geomtools.distance2ToBezier)(x, y, v[2], v[3], v[4], v[5], v[6], v[7]);
^
dist/ccNetViz.js:9259: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.bezierIntersectsRect)(v[0], v[1], v[2], v[3], v[4], v[5], x1, y1, x2, y2);
^
dist/ccNetViz.js:9265: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.getBBFromPoints)(v);
^
dist/ccNetViz.js:9271: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
return (0, _geomtools.distance2ToBezier)(x, y, v[0], v[1], v[2], v[3], v[4], v[5]);
^
dist/ccNetViz.js:9332: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var ns = (0, _primitiveTools.getPartitionStyle)(options.styles[style], nodeStyle, "label");
^
dist/ccNetViz.js:9357: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
var rb = this.rbushtree_s[style] = (0, _rbush2.default)();
^
dist/ccNetViz.js:9362: WARNING - Suspicious code. This code lacks side-effects. Is there a bug?
this.rbushtree = (0, _rbush2.default)();
^
dist/ccNetViz.js:10922: WARNING - Suspicious code. The result of the 'getprop' operator is not being used.
this._texts;
^
dist/ccNetViz.js:4115: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get determinant() {
^
dist/ccNetViz.js:4132: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get lowerTriangularMatrix() {
^
dist/ccNetViz.js:4155: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get upperTriangularMatrix() {
^
dist/ccNetViz.js:4176: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get pivotPermutationVector() {
^
dist/ccNetViz.js:4702: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get condition() {
^
dist/ccNetViz.js:4710: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get norm2() {
^
dist/ccNetViz.js:4718: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get rank() {
^
dist/ccNetViz.js:4734: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get diagonal() {
^
dist/ccNetViz.js:4742: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get threshold() {
^
dist/ccNetViz.js:4750: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get leftSingularVectors() {
^
dist/ccNetViz.js:4761: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get rightSingularVectors() {
^
dist/ccNetViz.js:4772: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get diagonalMatrix() {
^
dist/ccNetViz.js:4927: ERROR - The class in an extends clause must be a qualified name.
class BaseView extends AbstractMatrix() {
^
dist/ccNetViz.js:5098: ERROR - ES6 transpilation of 'Static computed property' is not yet implemented.
static get [Symbol.species]() {
^
dist/ccNetViz.js:5316: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get size() {
^
dist/ccNetViz.js:6942: ERROR - The class in an extends clause must be a qualified name.
class Matrix extends AbstractMatrix(Array) {
^
dist/ccNetViz.js:7061: ERROR - The class in an extends clause must be a qualified name.
class WrapperMatrix1D extends AbstractMatrix() {
^
dist/ccNetViz.js:7102: ERROR - The class in an extends clause must be a qualified name.
class WrapperMatrix2D extends AbstractMatrix() {
^
dist/ccNetViz.js:7262: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get upperTriangularMatrix() {
^
dist/ccNetViz.js:7285: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get orthogonalMatrix() {
^
dist/ccNetViz.js:7410: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get realEigenvalues() {
^
dist/ccNetViz.js:7418: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get imaginaryEigenvalues() {
^
dist/ccNetViz.js:7426: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get eigenvectorMatrix() {
^
dist/ccNetViz.js:7437: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get diagonalMatrix() {
^
dist/ccNetViz.js:8231: ERROR - This code cannot be converted from ES6. ES5 getters/setters (consider using --language_out=ES5)
get lowerTriangularMatrix() {
^
25 error(s), 54 warning(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment