Skip to content

Commit

Permalink
removed some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sauppb committed Apr 6, 2024
1 parent ec9c212 commit c2b1700
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { textEditor } from "./common";

export function generateUrl() {
// yank the text in ace
// console.log(textEditor.getValue());
var code = textEditor.getValue();
let encoded = encodeURIComponent(code);
// console.log(encoded);
window.location.hash = ''; //this should clear it before replacing it
window.location.hash = `code=${encoded}`
saveToLocal();
Expand Down
6 changes: 0 additions & 6 deletions src/text2tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,6 @@ class Lexer {
this.currentLine += 1;
this.index_before_this_line = this.i;
this.startToken = [this.currentLine, this.i - this.index_before_this_line];
// while (this.has('\n')) {
// this.skip();
// this.currentLine += 1;
// this.index_before_this_line = this.i;
// this.startToken = [this.currentLine, this.i - this.index_before_this_line];
// }
continue;
}
if (!this.has_letter()){
Expand Down

0 comments on commit c2b1700

Please sign in to comment.