disinclined.org
/
git
/
cellular-automaton.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5557a7
)
added universe toggle logic
author
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 27 Dec 2012 05:59:13 +0000
(
00:59
-0500)
committer
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 27 Dec 2012 05:59:13 +0000
(
00:59
-0500)
2d.js
patch
|
blob
|
history
diff --git
a/2d.js
b/2d.js
index
4dd3835
..
c3a4bbe
100644
(file)
--- a/
2d.js
+++ b/
2d.js
@@
-63,6
+63,7
@@
$(document).ready(function(){
}
this.toggle = function() {
+ this.running ? this.stop() : this.start();
}
this.redraw = function() {