Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jslint_com · This group has moved to Google Plus.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 586
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 1105 - 1135 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
1105 Mark Volkmann
mark_volkmann Send Email
Feb 6, 2010
1:51 pm
Is there a way to get JSLint to approve of a <!DOCTYPE ...> at the top of a .html file that specifies the document is XHTML?...
1106 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 7, 2010
2:25 pm
Mark, The standard XHTML 1.0 Strict and XHTML 1.1 doctypes both work for me in the JSLint tool, however the tool inappropriately outputs a missing '>' error...
1107 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 7, 2010
2:26 pm
Correction to XHTML 1.1 doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">...
1108 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 7, 2010
2:27 pm
Mark, Do you mean JSLint's fragment: true option? Please describe your use case with greater specification when you refer to use at top of a HTML file. Austin...
1109 Mark Volkmann
mark_volkmann Send Email
Feb 7, 2010
9:42 pm
Yes, I mean the "fragment: true" option. I was looking for a way to break a large .html file up into pieces that get included into a main .html file. For...
1110 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 8, 2010
4:47 am
If your HTML fragment contains incomplete tag pairs, such starting code in this fragment and closing the block in another fragment, JSLint will report errors....
1111 Mark Volkmann
mark_volkmann Send Email
Feb 8, 2010
1:44 pm
Thanks! I can see that approach will work, but what's the point of the fragment option if you have to do that? My HTML fragments do not contain incomplete tag...
1112 dadraqsta Send Email Feb 8, 2010
2:39 pm
... Right, you can see the booloptions I use clearly from http://jslint.webvm.net/mylintrun.js ... Why not post the URL and src?...
1113 Mark Volkmann
mark_volkmann Send Email
Feb 8, 2010
11:46 pm
JSLint complains if there is a comment before the root element. I'm pretty sure that should be valid....
1114 Woomla
woomla... Send Email
Feb 9, 2010
9:32 am
... I'm just curious what you mean by this. How do you create objects then?...
1115 Mark Volkmann
mark_volkmann Send Email
Feb 9, 2010
12:12 pm
JSLint complains if there is a comment before the root element. I'm pretty sure that should be valid....
1116 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 9, 2010
2:18 pm
... Then you would be wrong. Austin...
1117 Douglas Crockford
douglascrock... Send Email
Feb 9, 2010
2:28 pm
... I use object literals and Object.create(prototype). Object.create is in ES5. It can be added to ES3 with if (!Object.create) { Object.create = function...
1118 Stefan Weiss
weiss@... Send Email
Feb 9, 2010
3:07 pm
... Do you have a source for that statement? Where does it say that comments aren't allowed before the html root element? -- stefan...
1119 Jean-Charles Meyrignac
jcmeyrignac Send Email
Feb 9, 2010
3:15 pm
... A quick search returns: https://studio.tellme.com/general/xmlprimer.html As with any code, it's a good idea to document your work so that other programmers...
1120 Mark Volkmann
mark_volkmann Send Email
Feb 9, 2010
3:36 pm
The official word should be from the document "Extensible Markup Language (XML) 1.0 (Fifth Edition) W3C Recommendation 26 November 2008" since XHTML is XML....
1121 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 9, 2010
7:02 pm
HTML is not XML and is processed as XML less than .0001% of the time across the web. As such your comments regarding XML are irrelevant. Nowhere does the...
1122 Mark Volkmann
mark_volkmann Send Email
Feb 9, 2010
10:15 pm
On Tue, Feb 9, 2010 at 1:02 PM, Cheney, Edward A SSG RES USAR USARC < ... HTML is not XML ... Right. But XHTML is an that's what I happen to be using. I was...
1123 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 10, 2010
5:23 am
Any tag that is delimited as <?xml is an XML processing declaration. Several such declarations may occur in an XML document and preceed schema validation. ......
1124 demirozba Send Email Feb 10, 2010
7:52 am
I am checking if a variable is defined or not, if it is not defined explicitly I am going to define it by doing: if ( typeof(aVariable) == 'undefined&#39; ) { var...
1126 Woomla
woomla... Send Email
Feb 10, 2010
8:46 am
... Define the variable and give it an initial value of null or 'undefined&#39;. Then you can test for that: var aVariable = null; ... if (aVariable === null) { ...
1127 Mark Volkmann
mark_volkmann Send Email
Feb 10, 2010
12:03 pm
On Tue, Feb 9, 2010 at 11:23 PM, Cheney, Edward A SSG RES USAR USARC ... Maybe I can learn something new here. Can you point me to a description of the term...
1128 Mark Volkmann
mark_volkmann Send Email
Feb 10, 2010
12:09 pm
See correction below. On Wed, Feb 10, 2010 at 6:00 AM, Mark Volkmann ... There is no such thing as a getProcessingInstructions method in DOM Document. I should...
1129 Douglas Crockford
douglascrock... Send Email
Feb 10, 2010
1:05 pm
... var aVariable; if (aVariable === undefined) { aVariable = value; }...
1130 Aseem
aseem.kishor... Send Email
Feb 10, 2010
4:16 pm
Actually, if you're using this pattern to check if a user-specified option is set or not, explicitly using "var" is not the way to go. In IE, at a script level...
1131 Jean-Charles Meyrignac
jcmeyrignac Send Email
Feb 10, 2010
6:27 pm
Or you could use something like: var foo = foo || "some value"; as suggested on this mailing list starting at 5/27/2009. Of course, it won't work if your...
1132 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 11, 2010
4:45 am
... I cannot find that method in any of the DOM specifications, so I have no response. ... I have never called a processing instruction through a DOM...
1133 Stefan Weiss
weiss@... Send Email
Feb 11, 2010
5:06 am
... Mark already corrected that (hours ago) in his follow-up message. ... The point is that there's no problem whatsoever with having comments before the root...
1134 demirozba Send Email Feb 11, 2010
8:33 am
Thank you very much, this answer is really helpful...
1135 demirozba Send Email Feb 11, 2010
8:37 am
I am trying to run JSLint from the command line but it stops after displaying the first warning, even if I turn it of by specifying /*jslint passfail: false */...
Messages 1105 - 1135 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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