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: 585
  • 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 2747 - 2778 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
2747 Vardhan,Sree
vardhantrav Send Email
Jan 18, 2012
4:57 pm
Dear Vendor, Please provide an update on ECCN for the product JSLint. Thanks, Sree OAI-sys, Application Development and Testing Tools Travelers Insurance. HPSM...
2748 douglascrockford
douglascrock... Send Email
Jan 18, 2012
5:11 pm
... Dear Sree, In this relationship, I am not a vendor. I have never submitted an invoice to you. You have never paid a penny to me. I am an Open Source...
2749 Marc Spoor
marc.spoor@... Send Email
Jan 18, 2012
8:57 pm
... I was under the impression that a line that starts with the return statement should end with a semicolon, in order to not give the interpreter a chance to...
2750 caerusx Send Email Jan 22, 2012
12:09 pm
Hi I'm new to javascript, but I have a solid C/C++ background. One of reasons why I prefer C++ over C is because it stricter. I prefer to catch errors during...
2753 caerusx Send Email Jan 22, 2012
7:09 pm
Hi There is some indentation strangeness. JSLint does not like properly indented text: /*global g */ /*jslint indent: 2 */ (function () { "use strict"; return...
2754 douglascrockford
douglascrock... Send Email
Jan 22, 2012
8:51 pm
JSLint accepts two conventions for block-like structures, open and compact. Your code conforms to neither. Try /*global g */ /*jslint indent: 2 */ (function ()...
2755 caerusx Send Email Jan 22, 2012
10:30 pm
Thank you for a quick answer! It's a honor to get an answer directly from JSLint author. So JSLint does not allow to mix open and compact forms. If I get right...
2756 caerusx Send Email Jan 23, 2012
8:57 am
Good morning! I was thinking about mixing open and compact forms. And I think disallowing to use open inside compact and vice verse brings inconveniences. It's...
2757 Jakob Kruse
thekrucible Send Email
Jan 23, 2012
9:22 am
Good morning, Your problem seems to be your insistence on declaring a function inside a function call. This is much better (from a readability perspective): ...
2758 caerusx Send Email Jan 23, 2012
11:37 am
Hi For one liners it's better to use lambda forms. No matter how descriptive name is, better to see an actual code immediately, if it just one line. Often...
2759 Jakob Kruse
thekrucible Send Email
Jan 23, 2012
11:55 am
Hi The formatting problem you outlined had to do with how your code should be distributed over multiple lines, so it is not “just one line”. If it was just...
2760 caerusx Send Email Jan 23, 2012
12:36 pm
Hi Very often one line function does not fit in the same line with function keyword, so it's naturally to write it as open block. Consider: ...
2761 Jakob Kruse
thekrucible Send Email
Jan 23, 2012
12:53 pm
I don’t see this going anywhere, but I’d like to point out that 1) A function call split over 3-4 lines is not a “one line function”. If you would...
2762 caerusx Send Email Jan 23, 2012
1:52 pm
1) I agree, it is not a real problem. When I validated my code I hit just several errors of such kind for 1000+ lines of code. And I was not able to find out...
2763 Benjamin Gandon
bgandon Send Email
Jan 23, 2012
2:39 pm
Hi caerusx, hi everyone, I am new to the list too, so I'm not (yet) tired of answering the (easy) ++ question, so I'll answer. 1. I would personally say that...
2764 caerusx Send Email Jan 23, 2012
4:00 pm
Hi Thanks for answer! It makes a sense. But '+=' operator is vulnerable to character swap typo, 'i =+ 1' is also valid javascript expression. The unary...
2765 caerusx Send Email Jan 23, 2012
4:09 pm
Hi I rewrote all my functions declared as var to functions declared as function. (Thanks for giving me an insight that it's safe to declare nested functions)....
2766 douglascrockford
douglascrock... Send Email
Jan 27, 2012
6:48 pm
Last year I experimented with type inference in JSLint. I was not satisfied with the results of the experiment, so I am pulling all of that code out. JSLint...
2767 cse_html_validator
cse_html_val... Send Email
Jan 31, 2012
5:13 pm
... Thanks for the information on using comments before the DOCTYPE. However, it seems there is no solution to this if one decides they want or need to use...
2768 cse_html_validator
cse_html_val... Send Email
Jan 31, 2012
11:47 pm
Also, what if the comment is a server macro or something that will be processed by the server so it doesn't show up to the end user? Is JSLint useless for this...
2769 cse_html_validator
cse_html_val... Send Email
Feb 1, 2012
7:02 pm
JSLint wants CSS blocks to end in semicolons, like this: <style type="text/css"> #eid{color:navy} </style> It's perfectly OK to not have a semicolon in...
2770 douglascrockford
douglascrock... Send Email
Feb 1, 2012
7:29 pm
... I recommend that you follow JSLint's advice....
2771 Doc Emmett Splendid
emmett.thesane Send Email
Feb 1, 2012
9:46 pm
This is a difference between maintainable CSS (which should follow a very strict format) and ~minified~ CSS. Just as JSLint won't pass minified JS (which would...
2772 Sean Kelly
seank_com Send Email
Feb 1, 2012
10:12 pm
Personally, I prefer to fix my code to follow JSLint's recommendations. That said, I also put all my Javascript in .js files and include them using script tags...
2773 Rob Richardson
erobrich@... Send Email
Feb 2, 2012
12:15 am
It is less effective to lint minified or processed code as anything you discover usually can't be repaired in its current format. Also note that JSLint's CSS...
2774 mariuszn3 Send Email Feb 2, 2012
1:35 pm
Hi, I approached a whitespace issue. I have a code that it's impossible to refactor so it's ok for jslint - I can resign from checking whitespace but I don't...
2775 douglascrockford
douglascrock... Send Email
Feb 2, 2012
1:43 pm
... You may be going overboard on the function chaining thing. When you break a line after '(', JSLint expects to see an open configuration. So var...
2776 douglascrockford
douglascrock... Send Email
Feb 2, 2012
4:04 pm
Or you can break compactly before ')'. var someFunction = function () { 'use strict'; }; someFunction()(someFunction)(someFunction)(someFunction ...
2777 mariuszn3 Send Email Feb 3, 2012
7:52 am
Thanks, somehow I didn't think about writing it that way, it indeed makes sense....
2778 Jakob Kruse
thekrucible Send Email
Feb 3, 2012
11:01 am
Hi If I run the following code (properly indented) through JSLint at jslint.com with all options cleared, it validates. If I run the exact same code through...
Messages 2747 - 2778 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