开发者

jslint options doesn't seem to work on aptana 3

I'm having trouble with jslint, for example when I set the option 'white: true' on aptana, I get even more errors about indentation! but on jslint.com I don't get those messages, the 开发者_运维技巧option there works.

Just wondering, is this a known bug, or maybe I'm doing something wrong?

I have in the beginning of the file: /jslint browser: true, vars: true, white: true/

...and 200+ warning messages :p


/jslint browser: true, vars: true, white: true/

should be

/*jslint browser: true, vars: true, white: true */

BTW, if you go to jslint.org and set the options you want, it produces the exact string you'll need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜