Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Latest commit

 

History

History

servinlp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Style assignment

From minify to beautiful

Unminifying the HTML, CSS and JS to make things pretty. (And make sure the files are complete...)

Style choices

I personally have a very strict coding style which I try to enforce thanks to eslint.

This means that all my functions must have an enter after or before every {}, spaces with every (), no semicolons, always use template strings and use let only if necessary otherwise use const.

Indenting is always a tab. This I took over from mr.doob code style.

function a( b ) {

	const c = b + 1,
		d = c + 1

	let e = 0

	console.log( `Its: ${d}` )

	e = 5

	console.log( `Its: ${e}` )

}