TypeError: Cannot find function 1.0.
Posted
by Newtopian
on Stack Overflow
See other posts from Stack Overflow
or by Newtopian
Published on 2010-05-06T03:28:58Z
Indexed on
2010/05/06
3:38 UTC
Read the original article
Hit count: 196
JavaScript
|compiler-errors
Hi,
I have a script and I'm almost done but I get this error and frankly I have no idea what is wrong here. I'm rather new to Javascript so I suspect I did something wrong in the syntax somewhere. Here is an extract from the script containing the offending line :
var gc = 0;
var seg;
var segCount = 0;
var groupCount = 0;
var groupLevel = 0;
var segments = new Array();
var sk = "";
for(gc = 0; gc = groupDelimiters.length) break;
if(seg.name() == groupDelimiters[gc])
{
//ok we start another group
grKeys.startNewGroup(groupLevel, groupCriterionExtractors[groupLevel](segCount), groupCount);
groupLevel = gc + 1; //This line is flagged with the error in the title
groupCount++;
}
}
ideas, pointers, any help would be appreciated.
© Stack Overflow or respective owner