X-Git-Url: http://git.pjr.cc/?p=nodejsws.git;a=blobdiff_plain;f=tokeniser.js;fp=tokeniser.js;h=0000000000000000000000000000000000000000;hp=749b95fdc47d8c1fea5846c9df59b85f4cfe238f;hb=c2f8834a9f472b1d2a61ee0f899fc695f43c63a4;hpb=6127f038fce5dbe47be01fdc565c14b5d8d24b80 diff --git a/tokeniser.js b/tokeniser.js deleted file mode 100644 index 749b95f..0000000 --- a/tokeniser.js +++ /dev/null @@ -1,48 +0,0 @@ -var mys = "1 this is for \n\n\n the second one its end here "; - - -//var tool = mys.split("")[0].trim(); - console.log("calling: '%s'", calling); -} -*/ - -function splitandcall(thisstring) { - var tool = thisstring.split(""); - dummy_call(calling[0].trim(), function() { - thisoffset++; - if(thisoffset < tool.length) { - console.log("output: '%s'", calling[1]); - calloffset(); - } else { - console.log("output: '%s'", calling[1]); - console.log("at end"); - return; - } - }); - } - - calloffset(); -} - -function dummy_call(name, callback) -{ - console.log("in '%s' for name", name); - callback(); -} - -console.log("mys: '%s'", mys); -splitandcall("start:" + mys + ":end");