Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comment spelling #1499

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Toc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
onClick(e);
});

// Change mask postion on scroll
// Change mask position on scroll

Choose a reason for hiding this comment

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

@Flamenco : Excellent attention to detail for the comment spelling correction.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@waellerbe, I think this might be a breaking change. Good thing it has not been merged...

const updateMaskY = () => {
const scrollPosition = editorSvc.getScrollPosition();
if (scrollPosition) {
Expand Down
2 changes: 1 addition & 1 deletion src/store/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function debounceAction(action, wait) {
};
}

const collator = new Intl.Collator(undefined, { sensitivity: 'base' });
const collator = new Intl.Collator(undefined, { sensitivity: 'base', numeric: true });
const compare = (node1, node2) => collator.compare(node1.item.name, node2.item.name);

class Node {
Expand Down