The following looks like a "freshman" error:

ln347    while (source.length > 0) {
ln348      if (match = source.match(pattern)) {
ln349        result += source.slice(0, match.index);
ln350        result += String.interpret(replacement(match));
ln351        source  = source.slice(match.index + match[0].length);
ln352      } else {
ln353        result += source, source = '';
ln354      }
ln355    }

This comes from the latest download, prototype- Look at
line 348. This type of code is sprinkled throughout the file.

This is an assignment and not a comparison. Thus the statements will
always execute.

Can this possibly be correct? Like I said, it looks like a neophyte

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to