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 1284 - 1313 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
1313 Cheney, Edward A SSG ...
sandyhead25 Send Email
May 12, 2010
4:25 am
Rob, Evaluation of the code, JSLint function, will tell you exactly that. It is not likely that there are static definitions that point certain errors to...
1312 Rob Richardson
erobrich Send Email
May 11, 2010
5:04 pm
Is there a good rule-of-thumb for what type of errors stop JSLint immediately and what type of errors accumulate? Rob ________________________________ From:...
1311 Cheney, Edward A SSG ...
sandyhead25 Send Email
May 11, 2010
4:45 pm
... You are still performing assignment in a condition and not evaluation. At the same time never use redundant assignment, such as x = y = 1, because that is...
1310 Douglas Crockford
douglascrock... Send Email
May 11, 2010
1:27 pm
... 1. Fix your code, then it won't stop. 2. Fix your code, then it won't stop. 3. b was used before it was declared. This can confuse a reader, who will...
1309 avegaart Send Email May 11, 2010
11:54 am
Thanks for the reply. I know I can fix issues 1 and 2, but my question was why the parser stops when it should continue with a warning. ps. Your solution to...
1308 Cheney, Edward A SSG ...
sandyhead25 Send Email
May 11, 2010
11:19 am
Try these: Example 1: var a = (0.5 * 2); Example 2: var x, y; if (x === 1 && y === 1) { //do this } Do not perform assignment in a condition. That should...
1307 avegaart Send Email May 11, 2010
6:18 am
I just ran the ExtJS javascript library through JSLint again and I am pleasantly surprised by the progress that JSLint has made in the past few months. The...
1306 Douglas Crockford
douglascrock... Send Email
May 10, 2010
8:28 pm
... You can use the new getContext method. ADsafe is discussed at http://tech.groups.yahoo.com/group/caplet/...
1305 adam.kumpf Send Email May 10, 2010
6:58 pm
Is it possible to manipulate and draw on a <canvas> element from within an ADSAFE widget? I can select the canvas element, and it exists in the protected...
1304 adam.kumpf Send Email May 10, 2010
6:42 pm
... Hi Doug, I added the ADSAFE.log() call to all three try/catch blocks. The most notable of which was when calling the supplied function: try { f(dom,...
1303 Douglas Crockford
douglascrock... Send Email
May 10, 2010
6:21 pm
... Please let me see your suggestions....
1302 Douglas Crockford
douglascrock... Send Email
May 10, 2010
6:17 pm
... You can call the widget's .remove() method....
1301 adam.kumpf Send Email May 10, 2010
4:19 pm
Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)? ...
1300 adam.kumpf Send Email May 10, 2010
3:47 pm
As a developer, I use the console.log() function (or ADSAFE.log() internal to an adsafe widget) frequently to debug my code. I've noticed that when there is an...
1299 Michael Mikowski
z_mikowski Send Email
May 10, 2010
3:31 pm
$0.02: First, "the good parts" advocates the following form, as it illustrates the true nature of functions: 1. var fnOnClick = function (){ ... }; Others...
1298 Cheney, Edward A SSG ...
sandyhead25 Send Email
May 4, 2010
4:23 am
Michael, Your example is partially accurate, but consider the following: var f = function () {}; function g () {} if (typeof(f) === typeof(g)) { ...
1297 Rob Richardson
erobrich Send Email
May 3, 2010
10:42 pm
You're creating it with 'function&#39; then invoking it right away. Is there a similar way to use the keyword 'function&#39; to call a previously defined function?...
1296 Noah Sussman
thefangmonster Send Email
May 3, 2010
4:42 pm
... (function (foo) { return foo; })('bar&#39;); -- Noah Sussman Software Historian @noahsussman A foolish consistency is the hobgoblin of little minds      ...
1295 Rob Richardson
erobrich Send Email
May 3, 2010
4:06 pm
I've typically used the keyword 'function&#39; to denote that I'm creating a function. In quick testing, I find no way to call a function with the keyword...
1294 Marcel Duran
marcelduran Send Email
May 3, 2010
12:33 am
On Sun, May 2, 2010 at 2:56 PM, Cheney, Edward A SSG RES USAR USARC < ... expression. Consider the following: f(); function f () {} This works because function...
1293 Michael Lorton
mlorton Send Email
May 2, 2010
10:08 pm
Identical? Have you ever heard the expression "not always right, but never in doubt"? What should the following show? var f = function () { }; function g() { ...
1292 Cheney, Edward A SSG ...
sandyhead25 Send Email
May 2, 2010
9:56 pm
That is not an anonymous function. The follow two are identical. var f = function () { // body }; function f () { // body } In both cases you are assigning a...
1291 Douglas Crockford
douglascrock... Send Email
May 1, 2010
7:23 pm
... It is for readability. It makes it clearer that you are creating a function and not calling a function. Also, you forgot the semicolon....
1290 Rob Richardson
erobrich Send Email
May 1, 2010
5:31 pm
JSLint reports that anonymous functions such as this: var f = function(args) { // body } would be better like this: var f = function (args) { // body } Why is...
1289 Noah Sussman
thefangmonster Send Email
Apr 28, 2010
1:25 am
... I'm surprised to hear you say that these only run on linux, as I am able to do command-line validation of CSS and HTML on Windows and Mac as well. Great...
1288 Rob Richardson
erobrich Send Email
Apr 27, 2010
4:44 pm
"between ." came from "between style tags" except I conveyed it as markup. The markup apparently got trimmed by my email program. What a wonderful world where...
1287 Mike West
mikewest_y Send Email
Apr 27, 2010
4:19 pm
... I understand that, and also see value in concentrating effort on the areas in which JSLint most clearly shows value. I wasn't expecting to get into an...
1286 Rob Richardson
erobrich Send Email
Apr 27, 2010
3:42 pm
I see value in a lint tool for CSS that could be triggered to accept / reject vendor-specific rendering rules, and a second trigger to accept / reject the...
1285 Mike West
mikewest_y Send Email
Apr 27, 2010
10:02 am
On Tue, Apr 27, 2010 at 10:55 AM, Cheney, Edward A SSG RES USAR USARC ... Quite true. This, however, is an argument against expending too much effort in...
1284 Cheney, Edward A SSG ...
sandyhead25 Send Email
Apr 27, 2010
8:55 am
There are several different rendering engines available on the web. They each process presentation differently even when in full conformance to the...
Messages 1284 - 1313 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