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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 1557 - 1586 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
1586 pauanyu Send Email Nov 11, 2010
5:47 pm
Why wouldn't this work? return f.query('[' + attr + ']', e.target);...
1585 Erik Eckhardt
vorpalmage Send Email
Nov 10, 2010
8:10 pm
I'm sure it was the confusion over reference vs. use with the single quote marks. You read '[' as indicating only the square bracket was the thing being...
1584 neonstalwart Send Email Nov 10, 2010
7:49 pm
thanks... you're right. i don't know how i missed that....
1583 Jakob Kruse
thekrucible Send Email
Nov 9, 2010
5:19 pm
The error is correct. Specifically there needs to be a space between the single quote character and the plus sign. /Jakob Fra: jslint_com@yahoogroups.com...
1582 Morgaut Alexandre Lou...
morgaut_a Send Email
Nov 9, 2010
5:18 pm
A good exemple var s = String(3); // typeof s === "string" var s = new String(3); // typeof s === "object" String() can be used to convert any value into a...
1581 neonstalwart Send Email Nov 9, 2010
5:17 pm
i have found a bug. when running the following code through JSLint, it gives me the error below. /*global define: false */ /*jslint newcap: true, onevar:...
1580 Stefan Weiss
weiss@... Send Email
Nov 9, 2010
11:46 am
... The error is not caused by calling the constructor itself, but by the attempt to use the "this value" as an object inside the constructor. In ES3, the...
1579 Mark Volkmann
mark_volkmann Send Email
Nov 8, 2010
10:54 pm
But I read that invoking a constructor in ES5 without using the "new" keyword is an error. If that is true then there must be some way to distinguish between...
1578 Harry Whitfield
harry152566 Send Email
Nov 5, 2010
2:30 pm
... var y = "\&#92;)abc&#92;\)fgh"; print(y); y = y.replace(/&#92;\&#92;)/g, "~PDpar~"); print(y); y = y.replace(/~PDpar~/g, "\&#92;)"); // leave out the third backslash print(y);...
1577 Cheney, Edward A SSG ...
sandyhead25 Send Email
Nov 5, 2010
2:12 pm
Using JavaScript I am attempting to forcefully inject double quote characters into the parentheses of url fragments in CSS, so that url(jslint.com) becomes...
1576 Stefan Weiss
weiss@... Send Email
Nov 4, 2010
8:41 pm
... In ES5 (same as in ES3), a constructor is simply a function which creates and initializes objects. Letter case has nothing to do with it. Starting function...
1575 Mark Volkmann
mark_volkmann Send Email
Nov 4, 2010
6:42 pm
Thanks! I'm trying to verify though that in ES5, not just in JSLint, the definition of a constructor is "a function whose name starts with an uppercase...
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...
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"...
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...
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....
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...
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...
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]...
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...
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...
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...
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 ...
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 ...
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 ...
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(/...
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...
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....
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...
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...
Messages 1557 - 1586 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