diff options
author | raylu <raylu@cmu.edu> | 2011-04-07 00:27:27 -0400 |
---|---|---|
committer | raylu <raylu@cmu.edu> | 2011-04-07 00:27:27 -0400 |
commit | f8c9eb5220afaf2f9a62f9a176a45913240f4081 (patch) | |
tree | 99775178acfcef6e86e39184be0ac96083042f1b /sounds/script/demo.js | |
download | pathery-f8c9eb5220afaf2f9a62f9a176a45913240f4081.tar.xz |
Initial import from Dropbox
Diffstat (limited to 'sounds/script/demo.js')
-rw-r--r-- | sounds/script/demo.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sounds/script/demo.js b/sounds/script/demo.js new file mode 100644 index 0000000..40153e4 --- /dev/null +++ b/sounds/script/demo.js @@ -0,0 +1,11 @@ +// Page-specific demo stuff - not needed for library
+
+function stressTest(sound,count) {
+ for (var i=0; i<count; i++) {
+ setTimeout("soundManager.play('"+sound+"',1,true)",(i+1)*50);
+ }
+}
+
+function ihatespam(s) {
+ return s.replace('improbablyaspammer','scott');
+}
\ No newline at end of file |