Skip to content

Commit

Permalink
fix to example page
Browse files Browse the repository at this point in the history
  • Loading branch information
calumk committed Jan 11, 2024
1 parent d77d519 commit befbaaa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
let change_language = () => {
// ask the user for a language using a simple js alert popup, then update the codecup language
let language = prompt('Enter a language to change to', current_language)
current_language = language
cup.updateLanguage(language)
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calumk/codecup",
"version": "1.6.2",
"version": "1.6.3",
"description": "A micro code-editor for awesome web pages",
"main": "dist/codecup.bundle.js",
"files": [
Expand Down
1 change: 0 additions & 1 deletion src/styles/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const LINE_NUMBER_WIDTH = '40px'




export const editorCss = `
.codecup {
position: relative;
Expand Down

0 comments on commit befbaaa

Please sign in to comment.