When sourcing a javascript file in chrome I get the following error message
Duplicate data property in object literal not allowed in strict mode
And it seems to indicate the following function :
Code:
 IsUInt: function(field,control,ctx) {
    var strValidChars = "0123456789,",
        strChar,i = 0, max = 0,
        blnResult = true,
        strString = field.value,
        tmpAry = strString.split("."),
        fieldLabel = control.label;
		strString = tmpAry[0];  // get rid of any decimal points
    for ( i = 0, max = strString.length;i < max && blnResult === true; i++) {
      strChar = strString.charAt(i);
      if (strValidChars.indexOf(strChar) == -1) {
        return ctx.tryAgain(field,"An input field near the following text:\n" + "\"" +  
                            fieldLabel + "\""  +  
														"\nrequires a unsigned WHOLE NUMBER (no decimals please!).");
        }
      }
    field.value = strString;
    return true;
    },
Yet I do not get the error message when running jslint
Any ideas?
TIA
tim