Search the web
Sign In
New User? Sign Up
jslint_com · JSLint.com
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 975 - 1004 of 1004   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#1004 From: "Douglas Crockford" <douglas@...>
Date: Thu Nov 19, 2009 7:14 pm
Subject: option.devel
douglascrock...
Offline Offline
Send Email Send Email
 
I added an Assume console, alert, ... (devel) option. It predefines globals that
are useful in browser development that should be avoided in production. It is
equivalent to

/*global alert: false, confirm: false, console: false, Debug: false, opera:
false, prompt: false */

#1003 From: Toby Maxwell-Lyte <toby.maxwelllyte@...>
Date: Tue Nov 17, 2009 8:22 am
Subject: Re: [jslint] Re: question about console.log statements
toby_maxwell...
Offline Offline
Send Email Send Email
 
What about alert() ?

2009/11/16 sks0001010 <simon.shepard@...>:
>
>
> Hmmm, not that I can think of off the top of my head, those 3 are the only
ones that get reused repeatedly for JS debugging in the different browsers.
>
> In another topic, I've been trying to use JSLint to validate HTML fragments,
but the templating system being used relies on having files with backend blocks
in it like <% print(someValue); %>
> it would be awesome, if there was a switch for tags with different starting
and ending delimeters that could be filtered out of the validation process, but
I don't know whether this becomes a bit out of the scope of the software ;-)
>
>
>
>
> --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
>>
>> --- In jslint_com@yahoogroups.com, Simon Kenyon Shepard wrote:
>> > I was wondering whether there are any plans to bring in the option to
>> > be able to flag console.log statements in JSLint.
>>
>> That is a great suggestion. Perhaps there could be an option that determines
whether console, Debug, and Opera are predefined. You would turn it on for
development, and off for deployment.
>>
>> Are there other useful development time globals?
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>



--
Toby Maxwell-Lyte
07816 836300
01443 449003

#1002 From: "sks0001010" <simon.shepard@...>
Date: Mon Nov 16, 2009 9:28 pm
Subject: Re: question about console.log statements
sks0001010
Offline Offline
Send Email Send Email
 
Hmmm, not that I can think of off the top of my head, those 3 are the only ones
that get reused repeatedly for JS debugging in the different browsers.

In another topic, I've been trying to use JSLint to validate HTML fragments, but
the templating system being used relies on having files with backend blocks in
it like <% print(someValue); %>
it would be awesome, if there was a switch for tags with different starting and
ending delimeters that could be filtered out of the validation process, but I
don't know whether this becomes a bit out of the scope of the software ;-)




--- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
>
> --- In jslint_com@yahoogroups.com, Simon Kenyon Shepard wrote:
> > I was wondering whether there are any plans to bring in the option to
> > be able to flag console.log statements in JSLint.
>
> That is a great suggestion. Perhaps there could be an option that determines
whether console, Debug, and Opera are predefined. You would turn it on for
development, and off for deployment.
>
> Are there other useful development time globals?
>

#1001 From: "Douglas Crockford" <douglas@...>
Date: Mon Nov 16, 2009 7:05 pm
Subject: Re: question about console.log statements
douglascrock...
Offline Offline
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, Simon Kenyon Shepard wrote:
> I was wondering whether there are any plans to bring in the option to
> be able to flag console.log statements in JSLint.

That is a great suggestion. Perhaps there could be an option that determines
whether console, Debug, and Opera are predefined. You would turn it on for
development, and off for deployment.

Are there other useful development time globals?

#1000 From: Simon Kenyon Shepard <simon.shepard@...>
Date: Mon Nov 16, 2009 5:57 pm
Subject: question about console.log statements
sks0001010
Offline Offline
Send Email Send Email
 
Hi,

apologies if this has already been covered.
I was wondering whether there are any plans to bring in the option to
be able to flag console.log statements in JSLint.
I often find console.log's in javascript where someone has been using
them for debugging in firebug but then it breaks in IE (or firefox
without firebug) but have failed to remove them for production code.
Ideally I would like to fold this into my CI checks with JSLint, I was
hoping someone might be able to point me in the right direction...

Cheers

Simon

#999 From: "samckayak" <samc@...>
Date: Sun Nov 15, 2009 4:14 pm
Subject: Re: JSLINT Dreamweaver Extension
samckayak
Offline Offline
Send Email Send Email
 
> Changelog 1.0.0.4
> -Clicking "OK" in the JSLint configuration window closes the window
> -JSLint is now available from the "Site Reports"
> -Multiple file selection via "Site Reports"
> -DWlint now uses the "Site Reports" tab on the "Result" pane of
> dreamweaver to show results.
> -Double-clicking the error/warning in the results pane will scroll to
> the offending line of code.

These are great updates.  It is much more streamlined now.  I don't miss the
control character much.  It might be better if a jslint ICON could be place on
the COMMON toolbar.

The Results pane is the right place.  It is much more convenient there and the
double-click to find the line of code is great.

One thing I'd like to see in DW is a JavaScript formatter.  Even a good external
formatter for JS would be a help if you have any recommendation.

Thanks for this fine product.  You might want to post it in some other DW
forums.

Sam

#998 From: "martijnbeulens" <mbeulens@...>
Date: Sat Nov 14, 2009 9:39 pm
Subject: Re: JSLINT Dreamweaver Extension
martijnbeulens
Offline Offline
Send Email Send Email
 
Sam i tried to address some of your suggestions.
Could not find how to do a keyboard shortcut yet, so that remains on the
wishlist for now.

Changelog 1.0.0.4
-Clicking "OK" in the JSLint configuration window closes the window
-JSLint is now available from the "Site Reports"
-Multiple file selection via "Site Reports"
-DWlint now uses the "Site Reports" tab on the "Result" pane of
dreamweaver to show results.
-Double-clicking the error/warning in the results pane will scroll to
the offending line of code.

Download version 1.0.0.4 from http://dwlint.abisvmm.nl
<http://dwlint.abisvmm.nl/>


--- In jslint_com@yahoogroups.com <mailto:jslint_com@yahoogroups.com> ,
"samckayak" <samc@...> wrote:
>
> This extension has so improved my jslint/JavaScript workflow.
>
> Some suggestions:
>
> 1 - Single key (CTRL-J maybe?) to launch the validator.
>
> 2 - Launching the results pane should close the jslint control pane
automatically.
>
> 3 - Double-clicking the error/warning in the results pane should
scroll-to and highlight the offending line of code.
>
> 4 - Once Edits are made, how about a refresh button on the results
pane?  That would save a few steps.
>
> 5 - A Resizable results pane would let it fit nicely on the side or
bottom so the code edit window isn't covered.
>
> So... when will all this be done ;-)
>
> Sam
>



[Non-text portions of this message have been removed]

#997 From: Dominic Mitchell <dom@...>
Date: Thu Nov 12, 2009 10:45 pm
Subject: [ANN] jslint4java 1.3.2
happygiraffe...
Offline Offline
Send Email Send Email
 
Hi all!  I'd like to let you know that I've released a new version of my
jslint wrapper, jslint4java.  The new features are:

  * Upgrade to JSLint 2009-10-04.
  * Add an ability to use an external copy of jslint.js, rather than the
bundled one.

As usual, it's available from:

   http://code.google.com/p/jslint4java/

Thanks,
-Dom


[Non-text portions of this message have been removed]

#996 From: "samckayak" <samc@...>
Date: Thu Nov 12, 2009 3:23 pm
Subject: Re: jslint missed a global variable
samckayak
Offline Offline
Send Email Send Email
 
>
> Turn on the "Disallow undefined variables" option.
>
I will, and thank you.

Isn't it a jslint anomaly that "of" was not flagged as a global variable by
jslint?  I found that renaming "of" to "ox" resulted in a proper declaration of
"ox" as a global.

#995 From: "Douglas Crockford" <douglas@...>
Date: Thu Nov 12, 2009 2:37 pm
Subject: Re: jslint missed a global variable
douglascrock...
Offline Offline
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, "samckayak" <samc@...> wrote:
>
> I'm working on a bookmarklet for ie6 which I hope explains the lack of
comments, short variables, and single-lined nature of the function.
>
> jslint seems to miss the global variable "of" in this function.  The semicolon
preceeding "of" should be replaced with a comma.  The variable "of" is not
reported as local or global.  Is "of" a keyword conflict?
>
> function(){var
o=document.body.style,oz=(o.zoom===''?'1':o.zoom);of=parseFloat(oz,10);o.zoom=(o\
f>3)?'1.':of*1.33;}


Turn on the "Disallow undefined variables" option.

#994 From: "samckayak" <samc@...>
Date: Thu Nov 12, 2009 2:11 pm
Subject: jslint missed a global variable
samckayak
Offline Offline
Send Email Send Email
 
I'm working on a bookmarklet for ie6 which I hope explains the lack of comments,
short variables, and single-lined nature of the function.

jslint seems to miss the global variable "of" in this function.  The semicolon
preceeding "of" should be replaced with a comma.  The variable "of" is not
reported as local or global.  Is "of" a keyword conflict?

function(){var
o=document.body.style,oz=(o.zoom===''?'1':o.zoom);of=parseFloat(oz,10);o.zoom=(o\
f>3)?'1.':of*1.33;}

#993 From: "Brook" <mrprogguy@...>
Date: Tue Nov 3, 2009 7:28 pm
Subject: Re: Need to be able to suppress the "Script URL" message
mrprogguy
Offline Offline
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
>
> --- In jslint_com@yahoogroups.com, "Brook" <mrprogguy@> wrote:
> > Given
> >
> > var b = javaApplet.Connect("javascript:OnConnect()");
> >
> > as the target of investigation, I inevitably see the "Script URL" complaint
from JSLint.  Since the method in question is by nature asynchronous, and the
interior Java cannot directly call script methods, this is the only method
available.  It would be nice to be able to suppress this since the warning is
visual static in the response.
>
>
>
> I don't recommend the use of javascript:urls in any context.
>

I don't think that's really in question.  The problem is that there aren't any
other mechanisms available for use.  One would hope that JSLint would be
adaptable to practical needs as well as ideals.

#992 From: "Douglas Crockford" <douglas@...>
Date: Tue Nov 3, 2009 6:59 pm
Subject: Re: Need to be able to suppress the "Script URL" message
douglascrock...
Offline Offline
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, "Brook" <mrprogguy@...> wrote:
> Given
>
> var b = javaApplet.Connect("javascript:OnConnect()");
>
> as the target of investigation, I inevitably see the "Script URL" complaint
from JSLint.  Since the method in question is by nature asynchronous, and the
interior Java cannot directly call script methods, this is the only method
available.  It would be nice to be able to suppress this since the warning is
visual static in the response.



I don't recommend the use of javascript:urls in any context.

#991 From: "Douglas Crockford" <douglas@...>
Date: Tue Nov 3, 2009 6:58 pm
Subject: Re: Read only?
douglascrock...
Offline Offline
Send Email Send Email
 
--- In jslint_com@yahoogroups.com, "Brook" <mrprogguy@...> wrote:
>
> What is the intent of flagging a line like
>
> gBarGinArr = [];
>
> with the error message "Read only?"


See http://www.jslint.com/lint.html#global

#990 From: "Brook" <mrprogguy@...>
Date: Tue Nov 3, 2009 6:44 pm
Subject: Need to be able to suppress the "Script URL" message
mrprogguy
Offline Offline
Send Email Send Email
 
Given

var b = javaApplet.Connect("javascript:OnConnect()");

as the target of investigation, I inevitably see the "Script URL" complaint from
JSLint.  Since the method in question is by nature asynchronous, and the
interior Java cannot directly call script methods, this is the only method
available.  It would be nice to be able to suppress this since the warning is
visual static in the response.

#989 From: "Brook" <mrprogguy@...>
Date: Tue Nov 3, 2009 6:37 pm
Subject: Read only?
mrprogguy
Offline Offline
Send Email Send Email
 
What is the intent of flagging a line like

gBarGinArr = [];

with the error message "Read only?"

#988 From: Douglas Crockford <douglas@...>
Date: Mon Nov 2, 2009 12:36 pm
Subject: Re: [jslint] Warning for duplicate function
douglascrock...
Offline Offline
Send Email Send Email
 
That's a good question. The only warning JSLint gives is that aa is global.
JSLint is more forgiving of global mishaps, assuming that if you are doing
things globally, then you aren't concerned with correctness. I will look at this
again. Thanks.


woomla wrote:
> This code jslint fine, but the second aa function is not accessible.
> Can't jslint give a warning for this?
>
>
> "use strict";
>
>
> var NN = '';
>
> function aa(name)
> {
>   NN = name;
> }
>
> function aa(boolean)
> {
>   NN = boolean ? 'true' : 'false';
> }
>
> aa('yes');
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

#987 From: "woomla" <woomla@...>
Date: Mon Nov 2, 2009 12:25 pm
Subject: Warning for duplicate function
woomla
Offline Offline
Send Email Send Email
 
This code jslint fine, but the second aa function is not accessible.
Can't jslint give a warning for this?


"use strict";


var NN = '';

function aa(name)
{
   NN = name;
}

function aa(boolean)
{
   NN = boolean ? 'true' : 'false';
}

aa('yes');

#986 From: "walfisch_in_the_sea" <christian.wirkus@...>
Date: Sat Oct 31, 2009 7:47 pm
Subject: goodpart:true with ruby
walfisch_in_...
Offline Offline
Send Email Send Email
 
Hi,
I use JSLint with Rhino. And as the goodparts sometimes change, I wrote a short
rubyscript to update the options-string. Is there another way to get the most
recent goodparts?

(click on "Show Message Option" on the right, to change the font to monospace)
The script:


#!/usr/bin/env ruby

require "net/http"

r = []
Net::HTTP.get("www.jslint.com", "/").
         scan(/<input[^>]*id="JSLINT_[^>]*>/i).
         each do |option|
             if /title=/i === option
                 #option with boolean
                 r.push([option.gsub(/<[^>]*title="(\w*)".*/, '\1'),
                         (/name=goodpart/ === option).to_s].join(":"))
             elsif /value="\d+"/ === option
                 #option with number
                 r.push(option.gsub(/<[^>]*JSLINT_(\w*)[^>]*value="(\d*)"[^>]*>/,
                         '\1:\2'))
             end
         end

p "/*jslint " + r.join(", ").downcase + " */"





#creates this:
#/*jslint passfail:false, white:true, onevar:true, browser:false, widget:false,
sidebar:false, rhino:false, safe:false, adsafe:false, debug:false, evil:false,
laxbreak:false, forin:false, sub:false, css:false, cap:false, on:false,
fragment:false, undef:true, nomen:true, eqeqeq:true, plusplus:true,
bitwise:true, regexp:true, strict:true, newcap:true, immed:true, indent:4,
maxerr:50 */

#985 From: "martijnbeulens" <mbeulens@...>
Date: Sat Oct 31, 2009 12:06 am
Subject: Re: JSLINT Dreamweaver Extension
martijnbeulens
Offline Offline
Send Email Send Email
 
Hi Sam,

Hahaha,
Well you gave it some thought i see.
I've no idea if it's all possible but after my holiday i will look in to it.

Thanks for the suggestions.

--- In jslint_com@yahoogroups.com, "samckayak" <samc@...> wrote:
>
> This extension has so improved my jslint/JavaScript workflow.
>
> Some suggestions:
>
> 1 - Single key (CTRL-J maybe?) to launch the validator.
>
> 2 - Launching the results pane should close the jslint control pane
automatically.
>
> 3 - Double-clicking the error/warning in the results pane should scroll-to and
highlight the offending line of code.
>
> 4 - Once Edits are made, how about a refresh button on the results pane?  That
would save a few steps.
>
> 5 - A Resizable results pane would let it fit nicely on the side or bottom so
the code edit window isn't covered.
>
> So... when will all this be done ;-)
>
> Sam
>

#984 From: "Kunal Kumar" <kunal_ktr@...>
Date: Fri Oct 30, 2009 4:37 am
Subject: JSLint with Rhino - failing for a statement which passes in web version
kunal_ktr
Offline Offline
Send Email Send Email
 
Hello,

I am trying to integrate JSLint with our build and hence my preferred choice is
Rhino engine for JSLint. However I havn't had much of luck in getting success
result with rhino/jslint yet!

So, here's my problem. Our javascript code are based on ExtJS framework and
hence most of the code file start with Ext.namespace statement. For example, One
of our file has

Ext.namespace( "TEST" );

When I copy this statment and run in "http://www.jslint.com/" with options as
"/*jslint onevar: true, browser: true, rhino: true, debug: true, evil: true,
sub: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, immed:
true */" and predefined object "Ext", it passess successfully. I do not get any
errors.

However when I pass the same file to jslint using Rhino (as specified in
http://www.jslint.com/rhino/index.html ), it throws me the error

Lint at line 1 character 1: Cannot read property "id" from undefined

The options in jslint.js are same as what I define in web version.

I do not understand why the output differs in web based and rhino based version?
Can anyone suggest something? Am I missing anything here?

-Kunal

#983 From: "samckayak" <samc@...>
Date: Thu Oct 29, 2009 4:51 pm
Subject: JSLINT Dreamweaver Extension
samckayak
Offline Offline
Send Email Send Email
 
This extension has so improved my jslint/JavaScript workflow.

Some suggestions:

1 - Single key (CTRL-J maybe?) to launch the validator.

2 - Launching the results pane should close the jslint control pane
automatically.

3 - Double-clicking the error/warning in the results pane should scroll-to and
highlight the offending line of code.

4 - Once Edits are made, how about a refresh button on the results pane?  That
would save a few steps.

5 - A Resizable results pane would let it fit nicely on the side or bottom so
the code edit window isn't covered.

So... when will all this be done ;-)

Sam

#982 From: Paul Novitski <paul@...>
Date: Wed Oct 28, 2009 7:30 pm
Subject: Re: [jslint] Good and bad invocation, a.k.a. call a RegExp
paul.novitski
Offline Offline
Send Email Send Email
 
At 10/27/2009 06:56 PM, robert.luxemburg wrote:
>var ss = " ///// "(" \/ ");
>var s = /\s/("/ /"); // " "


May I ask why, if you're supplying the string as a hard-coded
literal, are you testing it with a regular expression? Don't you as
the scripter already know its value?

I realize that the question "Why would you ever do such a thing?" is
very different from "Is it legal syntax?" But it is a mystery to my
why someone would call up the RegExp engine just to find out whether
a known quoted string contains certain patterns. Is it because the
string is supplied by a server-side script and not by a human hand?
Or because you simply enjoy using regular expressions, or exploring
unusual syntax in your scripts?

Curiously,

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com

#981 From: "Christian" <christian.wirkus@...>
Date: Wed Oct 28, 2009 4:45 pm
Subject: Re: Good and bad invocation, a.k.a. call a RegExp
christian.wi...
Offline Offline
Send Email Send Email
 
JSLint helps to use a proper subset of Javascript. Javascript has a lot of
issues which JSLint tries to fix, by proposing just to use a subset of the
language without loosing any of its functionality.

So some things are banned: some because they don't work as expected, e.g. the
with-statement, some because they have performance penalty, e.g. passing a
string instead of a function to setTimeout.

/\s/("/ /") doesn't add functionality to the language, just another syntax, and
its a not very well documented one.

Actually no one said that: "please do everyone a favor and just forget about it"

But ask yourself: Does this syntax make your code more clear? Or less?
And if less: Does it add functionality beyond better documented and wider
understood alternatives?





--- In jslint_com@yahoogroups.com, "robert.luxemburg" <robert.luxemburg@...>
wrote:
>
> I was playing around with JSLint lately, and entered the following:
>
> var ss = " ///// "(" \/ ");
>
> JSLint returned: "Problem at line 1 character 10: Bad invocation",
> and Firebug threw a TypeError, since strings are not callable.
>
> So I shuffled these very same characters a bit, until I got:
>
> var s = /\s/("/ /"); // " "
>
> and JSLint claimed: "Problem at line 1 character 9: Bad invocation",
> even though the above is, if not valid JS, implemented in Firefox,
> Safari, Chrome and Opera, as syntactic sugar for /\s/.exec("/ /").
>
> See here for a lengthy discussion:
> https://bugs.webkit.org/show_bug.cgi?id=28117
>
> It's definitely an obscure corner case, but shouldn't this be fixed
> in JSLint? Or added to the corresponding JS Style Guide? "Don't
> think you can call a RegExp, and if you find out that you actually
> can, please do everyone a favor and just forget about it..." ?
>

#980 From: "robert.luxemburg" <robert.luxemburg@...>
Date: Wed Oct 28, 2009 1:56 am
Subject: Good and bad invocation, a.k.a. call a RegExp
robert.luxem...
Offline Offline
Send Email Send Email
 
I was playing around with JSLint lately, and entered the following:

var ss = " ///// "(" \/ ");

JSLint returned: "Problem at line 1 character 10: Bad invocation",
and Firebug threw a TypeError, since strings are not callable.

So I shuffled these very same characters a bit, until I got:

var s = /\s/("/ /"); // " "

and JSLint claimed: "Problem at line 1 character 9: Bad invocation",
even though the above is, if not valid JS, implemented in Firefox,
Safari, Chrome and Opera, as syntactic sugar for /\s/.exec("/ /").

See here for a lengthy discussion:
https://bugs.webkit.org/show_bug.cgi?id=28117

It's definitely an obscure corner case, but shouldn't this be fixed
in JSLint? Or added to the corresponding JS Style Guide? "Don't
think you can call a RegExp, and if you find out that you actually
can, please do everyone a favor and just forget about it..." ?

#979 From: "martijnbeulens" <mbeulens@...>
Date: Fri Oct 23, 2009 12:20 am
Subject: Re: Dreamweaver JSLint extension / command
martijnbeulens
Offline Offline
Send Email Send Email
 
Reporting a bug or missing feature is not complaining.
It's more like helping to make the software better and more useable.


--- In jslint_com@yahoogroups.com, "samckayak" <samc@...> wrote:
>
> > I've fixed the problem by calling a dreamweaver dom function called
"synchronizeDocument" before getting the source.
> > This looks like it fixes my problem.
>
> Thanks.  I also noted this problem but I was so grateful for the product I
didn't want to complain about it!
>

#978 From: "samckayak" <samc@...>
Date: Thu Oct 22, 2009 2:19 am
Subject: Re: Dreamweaver JSLint extension / command
samckayak
Offline Offline
Send Email Send Email
 
> I've fixed the problem by calling a dreamweaver dom function called
"synchronizeDocument" before getting the source.
> This looks like it fixes my problem.

Thanks.  I also noted this problem but I was so grateful for the product I
didn't want to complain about it!

#977 From: "martijnbeulens" <mbeulens@...>
Date: Thu Oct 22, 2009 12:44 am
Subject: Re: Dreamweaver JSLint extension / command
martijnbeulens
Offline Offline
Send Email Send Email
 
I've fixed the problem by calling a dreamweaver dom function called
"synchronizeDocument" before getting the source.
This looks like it fixes my problem.

New version (1.0.0.3) on http://dwlint.abisvmm.nl

Did not yet build in the selection suggested by Sam.
Working on that at the moment.


--- In jslint_com@yahoogroups.com, "martijnbeulens" <mbeulens@...> wrote:
>
> If found that sometimes the source is being copied from the dreamweaver cache.
This means that if you use DW lint on a page, then change the page, it still
uses the old source to validate on.
> Closing and re-opening the file fixes the problem for now, but i'm still
figuring out what causes the cache problem.
>
> Ill post back with a solution when i got one.
> Any help is appreciated ofcourse.
>
>
> --- In jslint_com@yahoogroups.com, "martijnbeulens" <mbeulens@> wrote:
> >
> > After working with JSLint for a while i got tired from copy pasting my JS
code into jslint.com, so i searched google for a dreamweaver JSLint plugin.
> > Did not find it though, so created my own.
> >
> > It's an initial version, but i tend to update it if i find bugs or when
extra features are needed.
> >
> > I called it DWLint.
> > You can download an installer or the source from this page.
> >
> > http://dwlint.abisvmm.nl/
> >
> > Hope it's useful to someone.
> >
> > Martijn Beulens
> >
>

#976 From: "martijnbeulens" <mbeulens@...>
Date: Wed Oct 21, 2009 11:03 pm
Subject: Re: Dreamweaver JSLint extension / command
martijnbeulens
Offline Offline
Send Email Send Email
 
If found that sometimes the source is being copied from the dreamweaver cache.
This means that if you use DW lint on a page, then change the page, it still
uses the old source to validate on.
Closing and re-opening the file fixes the problem for now, but i'm still
figuring out what causes the cache problem.

Ill post back with a solution when i got one.
Any help is appreciated ofcourse.


--- In jslint_com@yahoogroups.com, "martijnbeulens" <mbeulens@...> wrote:
>
> After working with JSLint for a while i got tired from copy pasting my JS code
into jslint.com, so i searched google for a dreamweaver JSLint plugin.
> Did not find it though, so created my own.
>
> It's an initial version, but i tend to update it if i find bugs or when extra
features are needed.
>
> I called it DWLint.
> You can download an installer or the source from this page.
>
> http://dwlint.abisvmm.nl/
>
> Hope it's useful to someone.
>
> Martijn Beulens
>

#975 From: "Greg Raven" <gregraven@...>
Date: Tue Oct 20, 2009 9:51 pm
Subject: Re: Dreamweaver JSLint extension / command
gregraven...
Offline Offline
Send Email Send Email
 
That's weird. The Yahoo Widgets version of JSLint handles (X)HTML files just
fine. Copying and pasting into the on-line version generates all kinds of error
messages.

--- In jslint_com@yahoogroups.com, "samckayak" <samc@...> wrote:
>
> I just tried pasting several valid XHTML pages in JSLint and couldn't get past
the DOCTYPE.
>
> If it validates HTML, what am I doing wrong?
>

Messages 975 - 1004 of 1004   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

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