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: 584
  • 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 1545 - 1574 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
1545 pauanyu Send Email Oct 15, 2010
6:57 pm
Note: if this is implemented, make sure it also supports this construct: for (var key in object) { if (Object.prototype.hasOwnProperty.call(object, key)) { //...
1546 Cheney, Edward A SSG ...
sandyhead25 Send Email
Oct 16, 2010
3:07 am
Ben, SVG is an XML grammar. JSLint has, so far, never supported XML. Thanks, Austin Cheney - CISSP http://prettydiff.com/...
1547 Douglas Crockford
douglascrock... Send Email
Oct 17, 2010
12:10 am
JSLint requires that no whitespace occurs between . and a property name. JSLint requires that no whitespace occurs before [ or ( when they are used for...
1548 Douglas Crockford
douglascrock... Send Email
Oct 17, 2010
12:12 am
... No. That is why the error was not on line 6....
1549 Stefan Weiss
weiss@... Send Email
Oct 17, 2010
2:30 am
... Excuse me, but that's not an answer to pauanyu's question. call() and apply() still exist in ES5, even in strict mode, and no static code analysis tool can...
1550 Dominic Mitchell
happygiraffe... Send Email
Oct 17, 2010
8:32 am
... I think the problem here is the this keyword. From the spec<http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf>, Annex C: *A this...
1551 pauanyu Send Email Oct 17, 2010
6:06 pm
... "use strict"; function foo() { return this.message; } document.body.addEventListener("click&quot;, foo, true); The above returns the same error, at the same...
1552 Nagy Endre
forewer2000 Send Email
Oct 17, 2010
8:54 pm
Try instead this: "use strict"; var foo = function() { return this.message; }; foo.call({ message: "Hello!" }); or this "use strict"; var foo= function() { ...
1553 Douglas Crockford
douglascrock... Send Email
Oct 18, 2010
4:49 pm
... There is a lot of crappy code that ES5 accepts that JSLint rejects. Your argument will not work here. The point of ES5/strict is to prohibit leaking of the...
1554 neonstalwart Send Email Oct 19, 2010
1:04 am
... until recently JSLint had also not supported inspecting CSS files. i'm not concerned about having the svg xml grammar supported - just the css. according...
1555 pauanyu Send Email Oct 19, 2010
7:17 pm
... In that case, could you at least change the error message to something like: Strict violation: don't use "this" within a function....
1556 Michael
newmaniese Send Email
Oct 19, 2010
7:30 pm
... A full explanation would really be helpful. This was something that was really confusing me just this morning. Especially with a lot of libraries which...
1557 Cheney, Edward A SSG ...
sandyhead25 Send Email
Oct 19, 2010
9:50 pm
Ben, ... This is still an XML issue. Those browser have no issue with CSS applied to an XML file. IE can also render CSS files to XML documents directly, but...
1558 Rob Richardson
erobrich@... Send Email
Oct 19, 2010
9:57 pm
JSLint highlights this as a problem: /* * My Library Descriptive Comment * some descriptive content here */ with a message about mixed tabs and spaces...
1559 Douglas Crockford
douglascrock... Send Email
Oct 20, 2010
3:31 pm
... Mixing tabs and space is an indication of an editing problem. Pick one or the other and use it consistently. Fix your code....
1560 Cheney, Edward A SSG ...
sandyhead25 Send Email
Oct 21, 2010
1:55 am
... It is also an indication that more than one person, each with different editing styles, has been in that file. You cannot force your peers to do exactly...
1561 pauanyu Send Email Oct 21, 2010
2:19 am
... Just one nitpick: \s will replace all whitespace, including newlines. You probably want something more like this: x.replace(/&#92;t/g, " "); x.replace(/...
1562 Harry Whitfield
harry152566 Send Email
Oct 24, 2010
3:01 pm
The problem of dealing with the many issues surrounding the tab character arose in the early days of computers. I remember first having to deal with it in the ...
1563 Rob Richardson
erobrich@... Send Email
Oct 26, 2010
3:03 am
JSLint doesn't barf if the last case doesn't end in a break or return. For example JSLint believes this is ok: switch (somevar) { case 'a': // some code ...
1564 Rob Richardson
erobrich@... Send Email
Oct 26, 2010
4:48 am
The wonderment of html spacing spoils the day again ... JSLint prefers this: switch (somevar) { case 'a': \t// some code \tbreak; case 'b': \t// some code ...
1565 Luke Page
page.luke... Send Email
Oct 29, 2010
4:55 pm
I'd like to back Rob up - this is the only thing stopping me from switching on whitespace checking in jslint. I looked on the website for a reason and haven't...
1566 Cheney, Edward A SSG ...
sandyhead25 Send Email
Oct 29, 2010
9:55 pm
Luke, ... There is no uniform length definition for a tab stop character. This is several problematic with consideration for text based documentation where...
1567 James
jpdavenportjr Send Email
Nov 1, 2010
8:24 pm
I run all my JavaScript through a strict version of JSLint, run it with a careful eye toward any warning messages found in Firebug, and I think my code is...
1568 Rob Richardson
erobrich@... Send Email
Nov 2, 2010
5:57 pm
"use strict" identifies you're opting into the ECMAScript 5 mode of the same name. Rob ... From: jslint_com@yahoogroups.com [mailto:jslint_com@yahoogroups.com]...
1569 James
jpdavenportjr Send Email
Nov 3, 2010
1:34 pm
Yes, I understand. But why should I? If I always drive the speed limit, why should I put a speed regulator on my car? There may very well be a reason, I...
1570 Luke Page
page.luke... Send Email
Nov 3, 2010
1:47 pm
ECMAScript 5 may be (negligably) faster, but the main benefit you get is in using/preparing to use a language that is more sane and developed and is the future...
1571 Joshua Bell
inexorabletash Send Email
Nov 3, 2010
5:15 pm
... This post has a reasonable summary: http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/ In browsers today, the use strict directive does nothing....
1572 Mark Volkmann
mark_volkmann Send Email
Nov 4, 2010
1:50 pm
I've combed the web for answers to these questions, but haven't found them ... even in the ES5 spec which surely contains the answers. In ES5 what is the...
1573 Mark Volkmann
mark_volkmann Send Email
Nov 4, 2010
2:01 pm
I've read that in ES5, accessing the global object is a runtime error. Can someone explain what "accessing the global object" means? Does it mean that "this"...
1574 seank_com Send Email Nov 4, 2010
6:04 pm
From my understanding calling a constructor without using new will mena the this pointer point to the global object and all the member function and varialbes...
Messages 1545 - 1574 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