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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 1124 - 1154 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
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 */...
1136 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 11, 2010
9:21 am
... If my answers to my opinions cannot be found in a standards specification or a commonly accepted best practices guidance they are formed from personal...
1137 Douglas Crockford
douglascrock... Send Email
Feb 11, 2010
1:58 pm
... Sometimes JSLint will stop if it finds a problem that produces an ambiguous state. Warnings generated from such a state would be unreliable. I recommend...
1138 Mark Volkmann
mark_volkmann Send Email
Feb 11, 2010
2:18 pm
On Thu, Feb 11, 2010 at 3:21 AM, Cheney, Edward A SSG RES USAR USARC ... The HTML 4.01 Recommendation makes this very clear in section 7.1. See...
1139 Chris
altearius Send Email
Feb 11, 2010
8:58 pm
... Hello, This has been working wonderfully, thank you for putting it in! I notice that JSLint can be put into JSON-mode if the first non-whitespace character...
1140 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 12, 2010
11:01 am
... The root element is not one of three sections that you stated in accordance with para 7.1 of HTML 4....
1141 Mark Volkmann
mark_volkmann Send Email
Feb 12, 2010
11:26 am
On Fri, Feb 12, 2010 at 5:01 AM, Cheney, Edward A SSG RES USAR USARC < ... How about "a line containing HTML version information". Isn't that the DOCTYPE?...
1142 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 12, 2010
11:57 am
Yes, putting anything, except whitespace characters, alters how several browsers perceive rendering of the DOM. This is most noticable in IE with regard to...
1143 Mark Volkmann
mark_volkmann Send Email
Feb 12, 2010
1:57 pm
On Fri, Feb 12, 2010 at 5:56 AM, Cheney, Edward A SSG RES USAR USARC < ... I wish you were able to provide a simple example and tell me exactly what I should...
1144 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 12, 2010
4:56 pm
I am sorry, but it is not that simple. If you place a comment above the doctype and refresh the page in IE the rendering changes are obvious. In many other...
1145 Mark Volkmann
mark_volkmann Send Email
Feb 12, 2010
7:07 pm
I don't want to place a comment above the DOCTYPE. This is what I want to do: <!DOCTYPE html whatever> <!-- some comment --> <html> <head> <title>some...
1146 Cheney, Edward A SSG ...
sandyhead25 Send Email
Feb 13, 2010
6:21 am
Not exactly. I am saying I have seen in past projects how this condition is potentially problematic when the technology is pushed beyond current...
1147 pauanyu Send Email Feb 15, 2010
1:57 pm
I frequently find that I must convert non-objects into objects. Consider, for example, a function that expects one of it's arguments to be an object. If you...
1148 Douglas Crockford
douglascrock... Send Email
Feb 15, 2010
2:08 pm
... That's not going to happen. The wrapping of primitive values is one of the bad parts....
1149 pauanyu Send Email Feb 15, 2010
4:44 pm
... Forgive my ignorance, but what problems are caused by the construct I proposed?...
1150 Woomla
woomla... Send Email
Feb 17, 2010
8:36 am
Hi, In the code snippet below, b will always be 'is TRUE'. Clearly the intention was that b should be 'a is FALSE'. No javascript error but the result is...
1151 Woomla
woomla... Send Email
Feb 17, 2010
12:25 pm
jslint doesn't expect to see new String, but I need it because I want to set a property of the string: var str = new String('somestring&#39;); str.id = 123; Or is...
1152 Jakob Kruse
thekrucible Send Email
Feb 17, 2010
12:44 pm
What's wrong with var str = "somestring&quot;; str.id = 123; ? /Jakob ... From: Woomla [mailto:woomla@...] To: jslint_com@yahoogroups.com Sent: Wed, 17 Feb...
1153 Harry Whitfield
harry152566 Send Email
Feb 17, 2010
1:06 pm
... Running the following code in Widget Tester: var str1 = "something&quot;; print("typeof str1: " + typeof str1); var str2 = new String("anything"); print("typeof...
1154 Klemen SlaviÄ
klemen.slavic Send Email
Feb 17, 2010
1:22 pm
Why not use JSON to carry values in such a case? var a = { value: "somestring&quot;, id: 123 }; ... [Non-text portions of this message have been removed]...
Messages 1124 - 1154 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