created client folder and moved files there

This commit is contained in:
Rohit
2019-05-31 15:46:25 -04:00
parent e6746cd4dc
commit 7ebacae080
23 changed files with 4 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
function Topic (name) {
this.name = name;
this.bag = true;
this.type = "";
}
Array.prototype.indexOfTopic = function(name) {
for (var i = 0; i < this.length; i++)
if (this[i].name == name)
return i;
return -1;
}