Skip to content

Commit 26b797d

Browse files
committed
refactor: remove hardcoded defaults
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 9f0fade commit 26b797d

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

  • lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/config

lib/node_modules/@stdlib/plot/base/view/lib/browser/app/editor/config/axis.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ function config( conf, schema ) {
5151

5252
def = defaults.axis;
5353

54-
// FIXME: remove this once we have proper defaults
55-
def = {
56-
'title': {
57-
'property': 'title',
58-
'default': '',
59-
'type': 'string'
60-
}
61-
};
6254
for ( i = 0; i < TEXT_PROPS.length; i++ ) {
6355
resolveTextValue( schema, def, conf, TEXT_PROPS[ i ] );
6456
}

0 commit comments

Comments
 (0)