streaksheet
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -934,3 +934,10 @@ "use strict"; | ||
columnWidth: function columnWidth(index) { | ||
return props.columnAndOverviewData.columns[index].width; | ||
var columns = props.columnAndOverviewData.columns; | ||
var column = columns[index]; | ||
if (!column) { | ||
throw new Error("Column index outside bounds of columns array; columns length: ".concat(columns.length, "; index: ").concat(index)); | ||
} | ||
return column.width; | ||
}, | ||
@@ -937,0 +944,0 @@ estimatedColumnWidth: (0, _sumBy["default"])(props.columnAndOverviewData.columns, function (c) { |
{ | ||
"name": "streaksheet", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Chris Cowan <agentme49@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
257081
2399