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 2599 - 2628 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
2599 Robocoder (TM)
robocoder Send Email
Sep 18, 2011
2:12 pm
If a multi-line expression contains the ternary operator, the expected indentation level for subsequent lines has increased. http://pastebin.com/T2Prsp8s This...
2600 Xavier MONTILLET
xavierm02... Send Email
Sep 18, 2011
4:32 pm
Well JSLint sees if ( a ) { a(); } else { if ( b ) { b( ); } } And you want if ( a ) { a( ); } else if ( b ) { b( ); } It isn't better, just sees it...
2601 Jakob Kruse
thekrucible Send Email
Sep 19, 2011
6:48 am
The better solution is to concatenate files in the build phase. Same place you do minification. /Jakob ... [Non-text portions of this message have been...
2602 randy_sargent_999
randy_sargen... Send Email
Sep 19, 2011
12:26 pm
I had difficulty finding an up-to-date version of jslint.js that worked from the commandline and was easy to set up, so I wrote one myself. It's a short ruby...
2603 benxwhite Send Email Sep 20, 2011
1:34 pm
It would be nice if there was an option to disable the "Use a named parameter" check. I have a large regular expression that I'm using to find an address in a...
2604 Douglas Crockford
douglascrock... Send Email
Sep 20, 2011
3:11 pm
... arguments will be leaving the language. Start getting used to not using it....
2605 Robert Ferney
capnregex Send Email
Sep 20, 2011
4:07 pm
'arguments&#39; is leaving the language? So, how do we handle functions that accept a variable number of arguments? - Robert Ferney ... [Non-text portions of this...
2606 mocthadoohay Send Email Sep 20, 2011
5:08 pm
I've been working on a JS file for a week or so with frequent trips thru JSLint along the way. Today, I getting tons of errors that look like this: Problem at...
2607 Morgaut Alexandre Lou...
morgaut_a Send Email
Sep 20, 2011
5:29 pm
I must say I'm facing the same problem ... [Non-text portions of this message have been removed]...
2608 tom.haggie@...
tom.haggie Send Email
Sep 20, 2011
5:32 pm
Ditto...
2609 Doc Emmett Splendid
emmett.thesane Send Email
Sep 20, 2011
5:56 pm
I've been wondering what the intent is on that as well. Perhaps the new recommended best practise is to pass in a single array argument in that case? ...
2610 Phil
druid_rpg Send Email
Sep 20, 2011
6:03 pm
I just ran a chunk of code I have not touched for awhile, that was passing all of the jslint tests. This time complained about a single unexpected ' '. In my...
2611 Xavier MONTILLET
xavierm02... Send Email
Sep 20, 2011
8:47 pm
Plus arguments is the only way to determine if an argument was omitted or if it was given the value undefined. Which should react differently on functions that...
2612 Marcel Duran
marcelduran Send Email
Sep 20, 2011
9:09 pm
... function f (o) { ....if (o && typeof o.foo !== 'undefined&#39;) { ........// do something with o.foo ....} ....if (o && typeof o.bar !== 'undefined&#39; && ...
2613 Robocoder (TM)
robocoder Send Email
Sep 20, 2011
11:28 pm
Remove all trailing whitespace (tabs and/or spaces) from the ends of lines....
2614 sandyhead25 Send Email Sep 21, 2011
5:04 pm
Simple. Change the format of input to an object literal. Then you can have a variable number of named parameters. Consider the following: var args = {first:...
2615 Xavier MONTILLET
xavierm02... Send Email
Sep 21, 2011
5:22 pm
I don't get the point of removing arguments if it forces you to ask for an array as argument... ... [Non-text portions of this message have been removed]...
2616 mocthadoohay Send Email Sep 21, 2011
5:36 pm
I'm using TextMate. Does anyone know of an automated way to remove extra whitespace from lines? It would be incredibly time consuming to do it manually. Also,...
2617 mocthadoohay Send Email Sep 21, 2011
6:40 pm
Answering my own question: TextMate: Bundles: Text: Converting/Stripping: Remove Trailing Spaces in Document Looks like a must before running thru JSLint....
2618 Rob Richardson
erobrich@... Send Email
Sep 21, 2011
7:27 pm
This works nicely for me: #!/bin/sh cat - | sed s/[ \t]+$//g > &1 Rob ... From: jslint_com@yahoogroups.com [mailto:jslint_com@yahoogroups.com] On Behalf Of...
2619 Michael Mikowski
z_mikowski Send Email
Sep 21, 2011
7:53 pm
... Add this to your .vimrc and then type ;k anytime you want to "klean": "=====[ klean - removes trailing whitespace ]===== map ;k :%s?\s&#92;+$??<CR> ...
2620 Robert Ferney
capnregex Send Email
Sep 21, 2011
9:53 pm
I've been using JSLint for a bit now, and I have noticed that often there are error messages where I wonder why JSLint is complaining about it.. I'm wondering...
2621 sandyhead25 Send Email Sep 22, 2011
11:09 pm
Could you rephrase that? I am not sure what you are asking....
2622 sandyhead25 Send Email Sep 23, 2011
3:28 am
Robert, I am sure the community would love you if you set this up for us. You can start here: http://www.jslint.com/msgs.html Austin...
2623 Robert Ferney
capnregex Send Email
Sep 23, 2011
5:53 pm
Ok, I've gotten a wiki started.. I do have it set to require logins to edit, simply to help people to be accountable for their edits. ...
2624 Frederik Dohr
ace_noone Send Email
Sep 24, 2011
8:07 am
I very much like this idea of collecting background info on JSLint's various warnings/errors. ... Perhaps it would make sense to use GitHub's wiki facilities...
2625 Doc Emmett Splendid
emmett.thesane Send Email
Sep 24, 2011
8:14 am
It's an excellent idea, as modern JS is the first computer language which is versioned in the same way as human language: on custom rather than central,...
2626 Robert Ferney
capnregex Send Email
Sep 24, 2011
9:00 am
... If and When Mr. Crockford does enable the GitHub's wiki, we can move the posts from http://jslint.wikinet.org/wiki/Main_Page . In the mean time, We will...
2627 Jordan Harband
ljharb Send Email
Sep 24, 2011
4:13 pm
How are extra bytes in your file that serve no purpose and can easily be removed by most editors, pre-commit hooks, or a command line tool NOT a problem? As...
2628 Robert Ferney
capnregex Send Email
Sep 26, 2011
2:03 pm
does extra space at the end of the line cause any browsers out there to interpret the javascript differently? ... removed by most editors, pre-commit hooks, or...
Messages 2599 - 2628 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