Made commandFactory tests not break anymore

Sequences that were scheduled directly after each other, such as "a b c" and "1 2 3" would end up overlapping sometimes, producing "a b 1 c 2 3" which failed to trigger the correct commands.

Change-Id: I27bb60e856e9d692a21e1587dc227f8aeb5fcf4e
This commit is contained in:
Trevor Parscal 2012-11-06 11:49:28 -08:00 committed by Catrope
parent 6082953562
commit 273c6ac7bd

View file

@ -46,6 +46,8 @@
var i; var i;
chars = chars.split( ' ' ); chars = chars.split( ' ' );
// Add a little time buffer between sequences so adjacent ones don't end up overlapping
sequenceSimulatorOffset += 100;
/** /**
* Utility function to avoid making functions * Utility function to avoid making functions