Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
FIameCaster committed Dec 27, 2023
1 parent 4487f94 commit 607c6e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prism-code-editor",
"version": "2.3.0",
"version": "2.3.1",
"type": "module",
"description": "Lightweight, extensible code editor component for the web using Prism",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package/src/extensions/folding/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { TagMatcher } from "../matchTags"
/**
* Callback used to add extra foldable ranges to an editor.
* @param editor Editor the folding ranges are added to.
* @param currentFolds The ranges that a currently foldable.
* @param currentFolds The ranges that are currently foldable.
* @returns An array of extra foldable ranges.
*/
export type FoldingRangeProvider = (
Expand Down
2 changes: 1 addition & 1 deletion package/src/extensions/guides.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const indentGuides = (): IndentGuides => {
l = newIndents.length

for (let i = 0, prev: number[] = [], next = newIndents[0]; next; i++) {
const { style } = lines[i] || (lines[i] = <HTMLDivElement>indentTemplate.cloneNode()),
const { style } = (lines[i] ||= <HTMLDivElement>indentTemplate.cloneNode()),
[top, height, left] = next,
old = indents[i]

Expand Down

0 comments on commit 607c6e9

Please sign in to comment.