Skip to search.
jslint_com · JSLint.com

Group Information

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

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 2862 - 2891 of 2891   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2862 benquarmby Offline Send Email Apr 30, 2012
1:16 am
Thanks for the reply Austin. I'm not 100% sure if you're saying passing functions as arguments is bad per-se (they're first class in JavaScript), or if it's...
2863 benquarmby Offline Send Email Apr 30, 2012
1:56 am
Just to add another option, what do you think of creating proxy functions to "fix" an API that uses a lot of arguments in callbacks? Using my previous code as...
2864 sandyhead25 Offline Send Email Apr 30, 2012
2:45 am
Please do not make this an ad hominem. Whether or not I am absolutely ignorant of how to write functional code in JavaScript your point adds nothing to the...
2865 sandyhead25 Offline Send Email Apr 30, 2012
3:32 am
Ben, It is correct that functions are first class objects in JavaScript. That statement goes to the syntax and definition of functions in the language opposed...
2866 benquarmby Offline Send Email Apr 30, 2012
4:22 am
Thanks again Austin. I see your point. This argument aside (ba-dum-tish!), my real question is whether JSLint should allow early unused arguments. So...
2867 Andy Dawson
using_yg_und... Offline Send Email
Apr 30, 2012
7:38 am
... Please clarify why: foo(arg, function() { callThis(with, these, arguments); }); Is considered extremely sloppy. AD [Non-text portions of this message have...
2868 douglascrockford
douglascrock... Offline Send Email
Apr 30, 2012
2:01 pm
... Yes it should, because it is often an error. But if you are intentionally writing code that looks like an error, and don't want to be reminded of that...
2869 douglascrockford
douglascrock... Offline Send Email
Apr 30, 2012
9:54 pm
Would anyone miss the Syntax Tree button?...
2870 Pierre Martineau
pierremartineau Offline Send Email
Apr 30, 2012
10:24 pm
I rarely use it, but I like it a lot when I do. So I would miss it. Thank you for this wonderful tool. Pierre Martineau ... From: "douglascrockford"...
2871 benquarmby Offline Send Email May 1, 2012
3:22 am
Thanks for the reply. Of course you're right (an annoying habit). Do you have a suggestion on creating callback / handler functions like this that don't look...
2872 Dylon Edwards
deeclhtoa Offline Send Email
May 2, 2012
1:44 am
I use it, too. Dylon ... [Non-text portions of this message have been removed]...
2873 Martin Cooper
mfncooper Offline Send Email
May 9, 2012
4:00 pm
I was surprised to find that JSLint doesn't complain about the following code: function doCheck(arr1, arr2, checker) { var i, l; for (i = 0, l = arr1.length; i...
2874 Max
oeroeroer Offline Send Email
May 9, 2012
4:57 pm
What might be the general rule be, just literally "Nested for loops shouldn't share control variables"? Or is there a larger principle at play here?...
2875 Rob Richardson
erobrich@... Send Email
May 9, 2012
6:16 pm
I think an even larger issue should be checking for identically named variables declared in different scope. This too should be illegal: function a() { ...
2876 John Hawkinson
john.hawkinson Offline Send Email
May 9, 2012
9:30 pm
Rob Richardson <erobrich@...> wrote on Wed, 9 May 2012 ... I don't agree. i is a common counter variable. It is reasonable style to use i as the...
2877 aceblchboy Offline Send Email May 10, 2012
12:11 pm
Google Chrome Extension http://code.google.com/p/script-cover/ <http://code.google.com/p/script-cover/> Some things to note: If the program needs data to...
2878 Chris
altearius Offline Send Email
May 10, 2012
1:14 pm
I agree: I think such a rule would be a useful improvement to JSLint. I have seen this sort of situation causing numerous bugs in my own code. Of course, we...
2879 douglascrockford
douglascrock... Offline Send Email
May 10, 2012
1:41 pm
A new edition of the JSLint web page is available for testing at http://jslint.com/test/jslint.html It includes many UI improvements suggested by Jeff Coniff. ...
2880 Merlin
harry152566 Offline Send Email
May 10, 2012
2:43 pm
... I note that you have removed the "Assume a Yahoo! Widget" option from the UI. I am not unduly bothered by that, but hope that you will leave that option...
2881 Chris
altearius Offline Send Email
May 10, 2012
2:49 pm
I like the new tri-state options. These are much easier to understand than the old ones. The "Clear Options" button sets "Indentation" and "Maximum number of...
2882 douglascrockford
douglascrock... Offline Send Email
May 10, 2012
4:50 pm
... Yahoo itself is not longer supporting widgets, so I don't think I need to support them too. You can use option.predef or /*globals*/ to specify the widget...
2883 Kirk Cerny
kirk.cerny Offline Send Email
May 10, 2012
4:52 pm
Thanks. This looks good. Kirk Cerny [Non-text portions of this message have been removed]...
2884 Luke Page
page.luke... Offline Send Email
May 10, 2012
7:16 pm
Disclaimer: I am no fan of Microsoft. but... The page looks bad on IE9 because the #JSLINT_ ID selector is not being interpreted right (something to do with...
2885 douglascrockford
douglascrock... Offline Send Email
May 14, 2012
6:30 pm
This code fails JSLint: ````var myScript = {}; ````(function () { ````````var THIS = this; ````````function defined(x) { ````````````return typeof x !==...
2886 sandyhead25 Offline Send Email May 15, 2012
1:50 pm
Would it be possible to warn on use of the "this" keyword? With exception to extending prototypes or referencing from the DOM I have never seen an efficient...
2887 Robert Ferney
capnregex Offline Send Email
May 15, 2012
4:52 pm
Douglas, This little explanation was great. It would be wonderful if the error messages would link to pages with little explanations like this. - Robert Ferney...
2888 Robert Ferney
capnregex Offline Send Email
May 15, 2012
4:54 pm
Or even, references to the chapter in The Good Parts. - Robert Ferney ... [Non-text portions of this message have been removed]...
2889 Tom Worster
thefsb Offline Send Email
May 15, 2012
5:07 pm
... I agree and support the feature request. Sometimes I feel so stupid reading fancy modern JS code. It's nice to know I'm not alone in benefiting from "the...
2890 Merlin
harry152566 Offline Send Email
May 16, 2012
4:01 pm
This code: /*jslint nomen: true, node: true */ "use strict"; var fs = require("fs"), path = require("path"); var JSLINT_PATH = path.join(__dirname,...
2891 douglascrockford
douglascrock... Offline Send Email
May 16, 2012
4:19 pm
... That is because you failed to specify option.stupid....
Messages 2862 - 2891 of 2891   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