We have so many plugins and custom build plugins in our system with comments, similar to below,
//To find out if the maximum number of characters in the text box exceeds the maxlimit.
//And truncates the text to maximum limit
//@author (Mahesh)
function textAreaLimiter(field, maxlimit, fieldName) {
var fieldValue = field.value;
.......
.......
}
When i include CKEditor i am getting errors as below,
SCRIPT1003: Expected ':'
EducationHistory.js?_dc=1370038626859, line 49 character 16
SCRIPT5017: Syntax error in regular expression
reviewDocs.faces, line 16 character 25
SCRIPT257: Could not complete the operation due to error 80020101.
ext-all.js?date=2013_02_14_19_19, line 18 character 5312
The issue can be resolved if I change the comment to have space between @ and //.
so the above function would be,
//To find out if the maximum number of characters in the text box exceeds the maxlimit.
//And truncates the text to maximum limit
// @author (Mahesh)
function textAreaLimiter(field, maxlimit, fieldName) {
var fieldValue = field.value;
.......
.......
}
I dont want to correct my files as we have so many to correct like this. I would like to fix the CKEditor to handle the above comments.
Please assist me. The issue is only in IE. FF and Chrome doesn't throw any errors.
I have this issue in IE9.Its
I have this issue in IE9. There is code ie:eval("/*@cc_on!@*/false") which is causing this issue. If I modify this code to return true everytime, it works fine in all versions of IE ie:true