From e4c7ac0749d84803fc5f94790aa56c1b43189a03 Mon Sep 17 00:00:00 2001 From: alongdate Date: Fri, 19 Apr 2024 15:39:27 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: alongdate --- components/ImagePicker.js | 2 +- lib/custom/modes/riscv.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/ImagePicker.js b/components/ImagePicker.js index 0b0d4787b..10536c411 100644 --- a/components/ImagePicker.js +++ b/components/ImagePicker.js @@ -142,7 +142,7 @@ export default class ImagePicker extends React.Component { const palette = image.palette.map(c => c.hex) /* * Contributors, please feel free to adjust this algorithm to create the most - * readible or aesthetically pleasing syntax highlighting. + * readable or aesthetically pleasing syntax highlighting. */ this.props.updateHighlights({ background: palette[0], diff --git a/lib/custom/modes/riscv.js b/lib/custom/modes/riscv.js index 1d4cf9145..f254521d6 100644 --- a/lib/custom/modes/riscv.js +++ b/lib/custom/modes/riscv.js @@ -28,7 +28,7 @@ CodeMirror.defineMode('riscv', function (/* config */) { // i) Synch // j) System // k) Counters - // Part 2) RV Priveleged Instructions + // Part 2) RV Privileged Instructions // a) CSR Access // b) Change Level // c) Trap Redirect @@ -161,7 +161,7 @@ CodeMirror.defineMode('riscv', function (/* config */) { 'rdinstret', 'rdinstreth', - // Part 2) RV Priveleged Instructions + // Part 2) RV Privileged Instructions // a) CSR Access 'csrrw', 'csrrs',