Skip to content

Commit

Permalink
Start main() at end of mandelbrot.js instead of in HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
cslarsen committed Nov 22, 2012
1 parent 19391da commit 94ffcee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mandelbrot.html
Expand Up @@ -243,9 +243,5 @@ <h1>The Mandelbrot Set</h1>

<script type="text/javascript" src="mandelbrot.js">
</script>

<script type="text/javascript">
main();
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions mandelbrot.js
Expand Up @@ -730,3 +730,5 @@ function main()
draw(getColorPicker(), getSamples());
draw(getColorPicker(), getSamples());
}

main();

0 comments on commit 94ffcee

Please sign in to comment.