W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2010

July CCXML Implementation Report: missing var in L_A.txml

From: Petr Kuba <kuba@optimsys.cz>
Date: Mon, 26 Jul 2010 13:56:09 +0200
Message-ID: <4C4D77D9.4030604@optimsys.cz>
To: www-voice <www-voice@w3.org>
Hello www-voice,

in L_A.txml, function extractCurrentDir(), variables 'i' and 'result' 
are not declared. The code should be:

	function extractCurrentDir(currUri)
	{
		var i = currUri.lastIndexOf("/");
		var result = currUri.substring(0,i+1);
		return result;
	}


Thanks,
Petr

-- 
   Petr Kuba, Project Manager
   OptimSys, s.r.o
   kuba@optimsys.cz
   Tel: +420 541 143 065
   Fax: +420 541 143 066
   http://www.optimsys.cz
Received on Monday, 26 July 2010 11:56:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 July 2010 11:57:03 GMT