Search the web
Sign In
New User? Sign Up
jslex_group · jsLex Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
JsLint validation issue   Message List  
Reply | Forward Message #48 of 73 |
There is an error in the JsLint validation with escape characters.

function bob(){
alert('Status is \"Invalid\'. Please enter valid Status.');
alert("Status is \"Invalid\". Please enter valid Status.");
alert("\t hell0");
alert("\r hel\\rl0");
alert("\b hel\\bl0");
alert("\\n hell0");
var bob;
alert(" hell0");
bob();
var bob;

var MESSAGE_NEW_LINE = "\n\n";

var MESSAGE_INVALID = "The data for the member/user is invalid.\n"

alert("Status is \"Invalid\. Please enter valid Status.");
}

The code above will fail to validate thoroughly in the Eclipse plugin,
but does in the online jsLint app. There is a fix for this and it
will be out by tomorrow.

Stay tuned.




Sat Feb 21, 2009 4:00 pm

digital_ichi
Offline Offline
Send Email Send Email

Forward
Message #48 of 73 |
Expand Messages Author Sort by Date

There is an error in the JsLint validation with escape characters. function bob(){ alert('Status is \"Invalid\'. Please enter valid Status.'); alert("Status...
Robert Buffone
digital_ichi
Offline Send Email
Feb 21, 2009
4:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help