",
"description": "A very basic to do list manager"
diff --git a/my-todolist/run.js b/my-todolist/run.js
new file mode 100644
index 0000000..f340592
--- /dev/null
+++ b/my-todolist/run.js
@@ -0,0 +1,22 @@
+/* tried event handling*/
+
+var events = require('events');
+
+function Door(colour) {
+ this.colour = colour;
+ events.EventEmitter.call(this);
+
+ this.open = function()
+ {
+ this.emit('open');
+ }
+}
+
+Door.prototype.__proto__ = events.EventEmitter.prototype;
+
+var frontDoor = new Door('brown');
+
+frontDoor.on('open', function() {
+ console.log('ring ring ring');
+});
+frontDoor.open();
\ No newline at end of file
diff --git a/my-todolist/uploads/eae94ed0e2e5bbebd4a6b4644be0a62e b/my-todolist/uploads/eae94ed0e2e5bbebd4a6b4644be0a62e
deleted file mode 100644
index 33e1e61..0000000
Binary files a/my-todolist/uploads/eae94ed0e2e5bbebd4a6b4644be0a62e and /dev/null differ
diff --git a/my-todolist/views/login.ejs b/my-todolist/views/login.ejs
new file mode 100644
index 0000000..4baf239
--- /dev/null
+++ b/my-todolist/views/login.ejs
@@ -0,0 +1,10 @@
+
\ No newline at end of file
diff --git a/my-todolist/views/todo.ejs b/my-todolist/views/todo.ejs
index c9e3827..5143112 100644
--- a/my-todolist/views/todo.ejs
+++ b/my-todolist/views/todo.ejs
@@ -16,7 +16,7 @@
<% priority.forEach(function(p,index2){%>
<% member.forEach(function(m,index3){%>
<% index.forEach(function(l,index4){%>
-
+
<% if((index1==index2) && (index2==index3)&&(index3==index4)){%>
delete update <%= todo %> <%=p %> <%=m %><%}})})})});%>