Skip to content

Use bundled version of Ace editor config#604

Merged
joncombe merged 1 commit into
masterfrom
jc/use-bundled-ace-editor-config
May 28, 2026
Merged

Use bundled version of Ace editor config#604
joncombe merged 1 commit into
masterfrom
jc/use-bundled-ace-editor-config

Conversation

@joncombe
Copy link
Copy Markdown
Contributor

@joncombe joncombe commented May 28, 2026

Summary of changes

Fix the problem where Ace editor attempts to load a config definition from a separate file instead of using the one already bundled in the JavaScript code.

Checklist

  • Link to issue this PR refers to: https://github.com/crate/cloud/issues/2959
  • Relevant changes are reflected in CHANGES.md.
  • Added or changed code is covered by tests.
  • Required Grand Central APIs are already merged.

@joncombe joncombe requested review from goat-ssh, kneth and plaharanne May 28, 2026 05:34
Copy link
Copy Markdown
Contributor

@goat-ssh goat-ssh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

@joncombe joncombe merged commit ac2b963 into master May 28, 2026
2 checks passed
@joncombe joncombe deleted the jc/use-bundled-ace-editor-config branch May 28, 2026 06:48
Comment on lines +281 to +283
if (typeof ace === 'undefined') {
return undefined;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not move this check before registerCrateDbMode to avoid checking typeof ace again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants