ZeroBlog icon indicating copy to clipboard operation
ZeroBlog copied to clipboard

Coffeelint

Open zeronetscript opened this issue 8 years ago • 0 comments

Hello: zeronet is greate and I'd like to contribute some new features to ZeroBlog, but zeroblog coffeescript mix space and tabs ,makes it difficult to hack, so I did a quick fix , makes 99% coffeelint warning quiet

first commit is replace all tab to 2 spaces second commit fix left coffeelint warning , such as longer than 80 Unnecessary fat arrow trailing whitespace trailing semicolon

I've compare js result before and after, only SQL has space and newline differences.

There is only 1 warning left with coffeelint getObject(elem) => Unnecessary fat arrow but replace it with -> generated js lacks a call to this.getObject = bind(this.getObject, this);

so I think this may be a miss warning and left it as it is

zeronetscript avatar Apr 21 '16 05:04 zeronetscript