jrit / web-resource-inliner

Inlines img, script and link tags into the same file
MIT License
69 stars 30 forks source link

Format code, add configs for ESLint and JSCS #13

Closed thorn0 closed 8 years ago

thorn0 commented 8 years ago

Closes #12

jrit commented 8 years ago

Are there any functional changes to look at or just formatting? Assuming from the commit message it is the latter, but want to be sure.

Thanks for taking care of this :+1:

thorn0 commented 8 years ago

I also replaced string.match(regex) with regex.test(string) where it was possible.

BTW, JSCS doesn't fully support your code style because of a bug: jscs-dev/node-jscs#1820.

jrit commented 8 years ago

test should be better where that was possible. Thanks again.