Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsgantt-improved

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsgantt-improved - npm Package Compare versions

Comparing version 2.6.2 to 2.6.3

10

dist/src/draw.js

@@ -431,6 +431,6 @@ "use strict";

vTmpTab.style.width = vTaskLeftPx + 'px'; // Ensure that the headings has exactly the same width as the chart grid
var vTaskPlanLeftPx = (vNumCols * (vColWidth + 3)) + 1;
// const vTaskPlanLeftPx = (vNumCols * (vColWidth + 3)) + 1;
var vSingleCell = false;
console.log((vNumCols * vNumRows), this.vUseSingleCell, vNumCols, vNumRows);
// if (this.vUseSingleCell !== 0 && this.vUseSingleCell < (vNumCols * vNumRows)) vSingleCell = true;
if (this.vUseSingleCell !== 0 && this.vUseSingleCell < (vNumCols * vNumRows))
vSingleCell = true;
draw_utils_1.newNode(vTmpDiv, 'div', null, 'rhscrpad', null, null, vTaskLeftPx + 1);

@@ -490,3 +490,2 @@ vTmpDiv = draw_utils_1.newNode(vRightHeader, 'div', null, 'glabelfooter');

events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
// console.log('T ----->', vNumCols)
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellmile', null, vColWidth, null, null, null);

@@ -506,3 +505,2 @@ vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');

vCaptClass = 'gmilecaption';
console.log(vSingleCell, vComb);
if (!vSingleCell && !vComb) {

@@ -522,3 +520,2 @@ this.drawColsChart(vNumCols, vTmpRow, taskCellWidth);

events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
// console.log('F ----->', vNumCols)
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellbar', null, vColWidth, null, null);

@@ -556,3 +553,2 @@ vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');

events_1.addThisRowListeners(this, this.vTaskList[i].getListChildRow(), vTmpRow);
// console.log('F ----->', vNumCols)
var vTmpCell = draw_utils_1.newNode(vTmpRow, 'td', null, 'gtaskcell gtaskcellcolorbar', null, taskCellWidth, null, null);

@@ -559,0 +555,0 @@ vTmpDivCell = vTmpDiv_1 = draw_utils_1.newNode(vTmpCell, 'div', null, 'gtaskcelldiv', '\u00A0\u00A0');

@@ -15,3 +15,3 @@ "use strict";

vDate.setTime(pList[i].getStart().getTime());
else if (pList[i].getPlanStart() && pList[i].getPlanStart().getTime() < vDate.getTime())
if (pList[i].getPlanStart() && pList[i].getPlanStart().getTime() < vDate.getTime())
vDate.setTime(pList[i].getPlanStart().getTime());

@@ -66,3 +66,3 @@ }

vDate.setTime(pList[i].getEnd().getTime());
else if (pList[i].getPlanEnd() && pList[i].getPlanEnd().getTime() > vDate.getTime())
if (pList[i].getPlanEnd() && pList[i].getPlanEnd().getTime() > vDate.getTime())
vDate.setTime(pList[i].getPlanEnd().getTime());

@@ -69,0 +69,0 @@ }

{
"name": "jsgantt-improved",
"version": "2.6.2",
"version": "2.6.3",
"description": "jsgantt-improved",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc