diff options
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 |