beautifier/js-beautify

& TO & amp;

Open

#880 geöffnet am 20. Feb. 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (8.342 Stars) (1.460 Forks)batch import
good first issuetype: enhancement

Beschreibung

For example if you try to beautify this line:

<script>
for(i=0;i<A.sampleRate/2;i++)cB[i]=(((i*13+(((i>>3)&amp;1221)+133)*(i>>2))&amp;255)/128-.4)/(i*.00002+1)*(Math.cos(i*i*.0000003+i*0.40321+j)%0.412)*12;
</script>

The &amp; will turn into & amp;.

btw. this was taken from @notch http://doodle.notch.net/unmandelboxing/withsound.html

Contributor Guide