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 2568 - 2598 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
2598 Marcos Zanona
marcos.zanona Send Email
Sep 17, 2011
4:00 pm
Well, let's say you are using some third-party plugin to implement your javascript code interaction with the website. For easier understanding left pick a...
2597 Douglas Crockford
douglascrock... Send Email
Sep 16, 2011
8:12 pm
... No. Why do you want to insert crappy code into your code?...
2596 Marcos Zanona
marcos.zanona Send Email
Sep 11, 2011
5:01 pm
Hello I was wondering if it is possible to escape/disable jslint validation for a specific function inside a file like: function off() { /*jslint off*/ ... } ...
2595 Kent Davidson
kentdavidson Send Email
Sep 6, 2011
7:31 pm
Sorry for misinterpreting your post. I see the issue. Is it possible to simply pre-process the legacy JavaScript before plugging it through JSLint as was...
2594 ScottJ
scottj75074 Send Email
Sep 6, 2011
6:41 pm
I keep a local copy of jslint too (as part of jslint_on_rails) but that doesn't solve the problem here. The issue is that one change to jslint has caused all...
2593 Douglas Crockford
douglascrock... Send Email
Sep 6, 2011
5:35 pm
Silicon Valley Codecamp is a free software development conference held at Foothill College in Los Altos, California. I will be presenting there again this...
2592 Rob Richardson
erobrich@... Send Email
Sep 6, 2011
3:45 am
Kent, We do this too, but don't run it inside Selenium inside a browser. Rather we run JSLint inside cscript.exe or V8 or rhino or JScript. It makes tests ...
2591 Kent Davidson
kentdavidson Send Email
Sep 5, 2011
5:15 pm
Scott, What we do at my company is pull down versions of the jslint code and site and then host it internally on test web servers (e.g....
2590 ScottJ
scottj75074 Send Email
Sep 3, 2011
6:32 am
[I realize I'm late to the discussion, and I apologize if I'm reopening old wounds.] Referring to the change on June 9 that inverted the semantics of many of...
2589 Douglas Crockford
douglascrock... Send Email
Sep 2, 2011
1:39 pm
... No. Declare all vars at the top of the function to avoid hoisting confusions. This is particularly import with the for statement because of the capture of...
2588 maddinr92 Send Email Sep 2, 2011
1:33 pm
First, thank you for your great validation tool. Demo-JavaScript: var test = function () { var letsHaveSomeFun = {}; for (var entry in letsHaveSomeFun) { ...
2587 sandyhead25 Send Email Aug 25, 2011
3:57 pm
Actually what you are describing is not minification. It is obfuscation, which is different. YUI can do both. You are also confusing minification in markup...
2586 Ben White
benxwhite Send Email
Aug 25, 2011
3:36 pm
I think he meant to type this for object detection. typeof o === 'object&#39; && !!o Ben ... said? ... called Object.keys, which produces an array of the...
2585 Jakob Kruse
thekrucible Send Email
Aug 25, 2011
3:30 pm
var o = {}; ... typeof o === 'object&#39; && !o ... Doesn't seem like a very good object detection test? What should it have said? /Jakob _____ From: Douglas...
2584 Douglas Crockford
douglascrock... Send Email
Aug 25, 2011
3:10 pm
... No. Object(o) was not created for that purpose. That code is depending on an edge case. Avoid the edges. Use this instead: typeof o === 'object&#39; && !o ...
2583 Chris
altearius Send Email
Aug 25, 2011
2:41 pm
Hello, JavaScript 1.8.5 introduces a new method of the Object constructor called Object.keys, which produces an array of the enumerable properties of a given...
2582 paulcrowder1979 Send Email Aug 24, 2011
1:29 pm
I've avoided putting the spacing in the string itself since it wouldn't get minified out. As for the concatenation cost, remember that I use YUI Compressor to...
2581 Satyam
satyamutsa Send Email
Aug 24, 2011
6:51 am
You can also place the spaces doing the indentation within the string: ....'....<whatever>;' + instead of: ........'<whatever>' + So much concatenating IS...
2579 paulcrowder1979 Send Email Aug 23, 2011
9:03 pm
I wasn't aware of the block-level option, so thanks for pointing that out. I'll just move the code that builds the HTML into its own function and specify the...
2578 Phil
druid_rpg Send Email
Aug 23, 2011
8:32 pm
... [ .. snip .. snip .. ] ... JSLint supports 'scoped&#39; control comments. I *assume* you either do not have a /*jslint ... */ comment in your code, or it at...
2577 cheesox Send Email Aug 23, 2011
8:30 pm
DC - Thanks for your ongoing efforts maintaining jslint. There's a conflict between the options specified in the call to JSLINT(), and the options specified in...
2576 William Chapman
jeddahbill Send Email
Aug 23, 2011
7:32 pm
Would like to voice strong support for paulcrowder1979&#39;s suggestion. I feel that JSLint should be quite liberal when evaluating indentation of any literal...
2575 paulcrowder1979 Send Email Aug 23, 2011
7:13 pm
I'm generally a fan of the whitespace rules that JSLint enforces, but there's on exception I'd like to see implemented. When I build an HTML string in...
2574 Douglas Crockford
douglascrock... Send Email
Aug 22, 2011
10:00 pm
... JSLint expects that the induction variable is local to the function containing the loop....
2573 pierremartineau Send Email Aug 22, 2011
7:01 pm
... I believe this is a similar problem: with these options: /*jslint es5: true, indent: 2 */ JSLint objects: "Bad for in variable 'a'." on this code: var a, b...
2572 Marcos Zanona
marcos.zanona Send Email
Aug 17, 2011
8:49 am
Actually if you work with even listeners it is quite easy to understand why `this` isn't accepted in all cases: ### In the following case `this` is accepted...
2571 Phil
druid_rpg Send Email
Aug 17, 2011
3:16 am
... Ah! Thanks. Following through the rest of that thread, the solution is simple [for my case anyway]. Just change the function definitions from function...
2570 Douglas Crockford
douglascrock... Send Email
Aug 16, 2011
4:45 pm
... /*jslint*/ directives are treated as statements because they respect block scope. Because they respect block scope, your second directive is useless and...
2569 Douglas Crockford
douglascrock... Send Email
Aug 16, 2011
4:39 pm
... Thanks. Please try it now....
2568 benxwhite Send Email Aug 16, 2011
3:20 pm
var getGroupId = function (group) { /*jslint regexp:true*/ return group.name.replace(/<.+?>|\W/g, '').toLowerCase(); /*jslint regexp:false*/ }; This throws an...
Messages 2568 - 2598 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

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