Skip to content

Commit ab2bf94

Browse files
committed
refactor: remove hardcoded defaults
1 parent 26b797d commit ab2bf94

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

  • lib/node_modules/@stdlib/plot/base/view/lib/browser

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ function transform( schema, signals, defaults ) {
4949
var out;
5050
var i;
5151

52-
defaults = { // FIXME: remove hardcoding
53-
'title': {
54-
'default': '',
55-
'type': 'string',
56-
'property': 'title'
57-
}
58-
};
59-
6052
out = copy( schema );
6153
for ( i = 0; i < out.length; i++ ) {
6254
out[ i ] = axis( schema[ i ], signals, defaults, format( '%s%d/', PREFIX, i ) );

lib/node_modules/@stdlib/plot/base/view/lib/browser/routes/app/bundle.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)