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...
985
martijnbeulens
Oct 31, 2009 12:08 am
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....
984
Kunal Kumar
kunal_ktr
Oct 30, 2009 4:37 am
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...
983
samckayak
Oct 29, 2009 4:51 pm
This extension has so improved my jslint/JavaScript workflow. Some suggestions: 1 - Single key (CTRL-J maybe?) to launch the validator. 2 - Launching the...
982
Paul Novitski
paul.novitski
Oct 28, 2009 7:30 pm
... 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...
981
Christian
christian.wi...
Oct 28, 2009 7:02 pm
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...
980
robert.luxemburg
robert.luxem...
Oct 28, 2009 1:56 am
I was playing around with JSLint lately, and entered the following: var ss = " ///// "(" \/ "); JSLint returned: "Problem at line 1 character 10: Bad...
979
martijnbeulens
Oct 23, 2009 12:20 am
Reporting a bug or missing feature is not complaining. It's more like helping to make the software better and more useable....
978
samckayak
Oct 22, 2009 2:19 am
... Thanks. I also noted this problem but I was so grateful for the product I didn't want to complain about it!...
977
martijnbeulens
Oct 22, 2009 12:45 am
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...
976
martijnbeulens
Oct 21, 2009 11:03 pm
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...
975
Greg Raven
gregraven...
Oct 20, 2009 9:51 pm
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...
974
pauanyu
Oct 20, 2009 5:18 pm
... Does it validate properly at http://jslint.com/? If so, then it's likely a problem with DWLint. If it doesn't work even in the web interface, we'll need...
973
Douglas Crockford
douglascrock...
Oct 20, 2009 5:14 pm
... XHTML is not HTML. JSLint only validates HTML....
972
samckayak
Oct 20, 2009 1:46 am
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?...
971
Greg Raven
gregraven...
Oct 20, 2009 1:12 am
I've never used the DW version, but JSLint validates HTML, too, so why not run the whole file through? This way, your line numbers will be correct, and you...
970
samckayak
Oct 19, 2009 12:14 am
... If the base line number of the selection can't be added, then the line numbers are the same as those displayed by jslint.com, no better or worse. What do...
969
martijnbeulens
Oct 19, 2009 12:10 am
... Sam, A selection could be possible, only your line numbers will not match?...
968
samckayak
Oct 18, 2009 9:16 pm
Martijn, For validating JavaScript coded in a document head, could this add-in be setup to validate only the selected code, or perhaps only the code embedded...
967
samckayak
Oct 18, 2009 2:20 am
Thanks for posting this. Worked the first time. DW CS3. Sam...
966
martijnbeulens
Oct 18, 2009 2:16 am
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...
Hi, We have some custom objects that are injected into the DOM from a lower layer. In order to access these we have to do so using global references. E.g....
963
Arthur Blake
blakesys
Oct 9, 2009 12:46 pm
Just read a fascinating interview with the author of our favorite tool!It also has great interviews with other eminent programmers of our time (Eich, Bloch,...
962
Douglas Crockford
douglascrock...
Oct 6, 2009 6:27 pm
... In a couple of years, I may add an option to accept this. But since it produces a violent syntax error in most current browsers, it is too great a hazard....
961
pauanyu
Oct 6, 2009 6:24 pm
var foo = { get bar() {}, set bar(value) {} }; The above fails with the following errors: Problem at line 2 character 9: Expected ':' and instead saw 'bar'. ...
960
Stefan Weiss
weiss@...
Oct 4, 2009 3:11 am
... Just for the record - neither vi, emacs, nano, or Unix terminals put any restrictions on line length. If you use PuTTY (or some other terminal emulator) to...
959
Douglas Crockford
douglascrock...
Oct 3, 2009 9:41 pm
The maxlen option sets the maximum length (in characters) of a line of program text. Lines that are longer will produce a "Line too long." warning....
958
Michael Newton
mnewton32
Oct 3, 2009 12:55 am
From: Michael Lorton <mlorton@...> ... You've clearly never edited outside the comfort of your GUI! This is a problem for me when I SSH into a remote...
957
Dominic Mitchell
happygiraffe...
Oct 2, 2009 7:29 pm
... I find most printers only really do 80 columns well. If you wrap, it gets unreadable very quickly. ... I'll add a +1 for an optional warning for this....