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

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

Hello ... @charset "UTF-8"; #djDojoPreloader { background: #fff url('../images/loading.gif') no-repeat center center; } ... But I get the error: /Error:/ ...
2 Jul 21, 2011
1:17 pm

Douglas Crockford
douglascrock...
Send Email

window.location.href = window.location.href; is a standard web programming technique to reload the page WITHOUT re-POSTing the form. But JSLint says "Weird...
1 Jul 20, 2011
1:45 pm

thefsb
Send Email

I just saw in a small jQuery plugin I was borrowing for my own use: function checkUndefined(a) { return typeof a === 'undefined&#39;; }; if (checkUndefined(data))...
9 Jul 19, 2011
6:38 pm

Douglas Crockford
douglascrock...
Send Email

Douglas, I started using the /*properties */ directive and like what it does, though it's making some things a little labor-intensive. 1. It would be very nice...
1 Jul 19, 2011
12:28 am

Erik Eckhardt
vorpalmage
Send Email

JSLint doesn't like the CSS src property when used in a @font-face at-rule. For example, @font-face { font-family: Quicksand; src:...
3 Jul 18, 2011
11:49 pm

Mark Volkmann
mark_volkmann
Send Email

Is there any plan to allow .css files that contain CSS3 properties like border-radius to pass jslint? -- R. Mark Volkmann Object Computing, Inc....
4 Jul 18, 2011
6:48 pm

Douglas Crockford
douglascrock...
Send Email

I'm using a library expects a callback function with certain parameters. I only am interested in the second parameter, but must have an unused first parameter....
3 Jul 15, 2011
11:50 pm

Erik Eckhardt
vorpalmage
Send Email

Here is a little script where JSLint throws an error, it's valid js for me: Problem at line 4 character 5: Expected an identifier and instead saw 'with'. with...
4 Jul 15, 2011
1:24 pm

Douglas Crockford
douglascrock...
Send Email

Validating the following fragment: <html> <head> <title>Test</title> <style type="text/css"> @media print { .noprint {display: none; } } </style> </head> ...
3 Jul 15, 2011
12:46 pm

Owen
eclipsechasers2
Send Email

'use strict'; function test() { return 2 + 2;} with node: false Error: Problem at line 1 character 1: Use the function form of 'use strict'. 'use strict'; with...
4 Jul 14, 2011
7:54 pm

Marcos Zanona
marcos.zanona
Send Email

After reading your article<http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/> I could understand that it is be possible to use both sloppy...
2 Jul 14, 2011
6:10 pm

Douglas Crockford
douglascrock...
Send Email

Hello Is there a chance to see a new option "Assume dojo", as we can already see for node.js, Rhino... ? This option could define custom /*properties */ etc......
3 Jul 13, 2011
2:14 pm

Jérôme DESPATIS
jdespatis
Send Email

Hello, I'm testing JSLint on some css, it says the css must begin with @charset 'UTF-8&#39;; So I add it, no more error with JSLint But when I validate this css to...
2 Jul 13, 2011
1:20 pm

Douglas Crockford
douglascrock...
Send Email

Hello Again on my dojo script, I'd like to prefill the /*properties */ in order to avoid type confusion error on some dojo functions For example in a script...
2 Jul 13, 2011
1:16 pm

Douglas Crockford
douglascrock...
Send Email

Hello.I use JsLint a lot from now on.Let the group participate by all means.Thanking you in advance. [Non-text portions of this message have been removed]...
1 Jul 8, 2011
2:08 pm

syunasu2@...
syunasu2
Send Email

When scanning a .js, JSLint reports this: Problem at line 119 character 35: Type confusion: function and '{': object. djTagonomyStore.fetch({query: {type:...
9 Jul 8, 2011
7:09 am

Jérôme DESPATIS
jdespatis
Send Email

A coding mistake I find myself making often is exemplified by this contrived mustache-style markup in a JS string: var title = 'blix', ____html = ______'<div>&#39;...
8 Jul 7, 2011
6:09 pm

Emmett Pickerel
emmett.thesane
Send Email

The following code: /*global other_object */ /*global other_object */ var obj = { callback: function (data) { if (typeof (data.prop) === 'string&#39;) { ...
12 Jul 7, 2011
1:56 pm

Jérôme DESPATIS
jdespatis
Send Email

... /*jslint browser: true, onevar: true, undef: true, white: true, newcap: true */ var somefunc = function () { ....var self = { ........method: function () {...
3 Jul 7, 2011
3:12 am

Jordan
ljharb
Send Email

//code: <div id="WIDGETNAME_"> html markup required by the widget <script> ADSAFE.id("WIDGETNAME_"); </script> <script src="easy.js"></script> <script> ...
3 Jul 6, 2011
10:28 am

wildboar17
Send Email

// Code: ADSAFE.lib("easy", function () { "use strict"; return { fun: function() { } }; }); // EndCode options: /*jslint browser: true, white: true, safe:...
3 Jul 4, 2011
6:40 pm

wildboar17
Send Email

The following code passes the JSLint white space rule: var a = function () { ...."use strict"; ....var b = function () { ............var c; ....}, ........c; ...
3 Jul 1, 2011
1:50 pm

sandyhead25
Send Email

Great tool. One minor thing which tripped me up is that the "Tolerate misordered definitions" is not entirely tolerant. For example: While: var abc = xyz(), ...
10 Jun 29, 2011
9:44 pm

Luke Page
page.luke...
Send Email

The /*properties */ directive can now accept types. For example, the directive /*properties a: array, b: boolean, n: number, o: object, r: regexp, any: * */ ...
1 Jun 28, 2011
8:52 pm

Douglas Crockford
douglascrock...
Send Email

Y.DataType.Date.format(ld, {format: "%a, %b %d, %H:%M"}); The following message is displayed: Problem at line 1 character 37: Type confusion: function and '%a,...
5 Jun 26, 2011
2:46 pm

Jakob Kruse
thekrucible
Send Email

/*global $ */ var a = function(){&#39;use strict'; return 1;}; gives no error and var a = function(){&#39;use strict'; return 1;}; gives spaces error...
1 Jun 25, 2011
5:58 am

bartman1c
Send Email

My guess is that this is not the intent and possibly some type of regexp is in play, but, I have discovered that both: confustion: true -or- confusion: true ...
3 Jun 23, 2011
9:42 pm

Merlin
harry152566
Send Email

For version 2011-06-19, jslint is flagging: (function () { "use strict"; Math.ceil(12.2); }()); With: Problem at line 3 character 9: Type confusion: function...
8 Jun 22, 2011
6:28 pm

Joshua Bell
inexorabletash
Send Email

I believe that by the amount of confusion the type checking has caused on this list, it has already proven itself counterproductive. In its current form at...
1 Jun 22, 2011
5:59 pm

Jakob Kruse
thekrucible
Send Email

In your example, x is not an array, it is an object. replacing var x = {foo : 'bar'}; with var x = ['foo']; would work. ... [Non-text portions of this message...
8 Jun 22, 2011
3:31 pm

tom.haggie@...
tom.haggie
Send Email
  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