diff --git a/README.md b/README.md
index 15e49ec..1640be0 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
* and a repl: Read–Eval–Print Loop, where Print is doing operations on vectors and matrices in a graphic environment
* written in vanilla javascript (ES6)
-
+
The repl has the following syntax (It's work in progress, new capabilities will be added)
* arithmetic expressions:
diff --git a/screenshot-0.png b/screenshot-0.png
deleted file mode 100644
index 3785e79..0000000
Binary files a/screenshot-0.png and /dev/null differ
diff --git a/src/console.js b/src/console.js
index 1b38c84..d9257c8 100644
--- a/src/console.js
+++ b/src/console.js
@@ -5,7 +5,6 @@
const state = {};
const command_input_element = document.getElementById('command_input');
const command_history_element = document.getElementById('command_history');
- const bottom = document.getElementById('bottom');
command_input_element.value = '';
let command_history = [];
let command_history_index = 0;
@@ -150,7 +149,7 @@
vector: (args) => add_vector({x0: args[0], y0: args[1], x: args[2], y: args[3]}),
remove: (args) => {
if (args[0].hasOwnProperty('binding')) {
- delete this.state[args[0].binding];
+ delete state[args[0].binding];
return remove_vector(args[0].object); // by binding value
} else {
return remove_vector(args[0]); // by index (@...)