Skip to content

Commit 5581541

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 2a4e041 commit 5581541

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms

lib/node_modules/@stdlib/plot/base/view/lib/browser/app/schema/transforms/axis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function transform( schema, signals, defaults, prefix ) {
9797
if ( k == 'tickCount' ) {
9898
signals.push({
9999
'name': name,
100-
'value': value !== '' ? value : void 0
100+
'value': ( value === '' ) ? void 0 : value
101101
});
102102
} else {
103103
signals.push({

0 commit comments

Comments
 (0)