vice.js/library-vice.js
2013-07-16 21:20:14 -04:00

6 lines
167 B
JavaScript

mergeInto(LibraryManager.library, {
vice_blocking_delay: function(delayMS) {
var target = new Date().getTime() + delayMS;
while (new Date() < target);
}
});