Browse Source

Just implement Sync.sleep with sleep.sync instead wrapping it first.

Edward Lee 15 years ago
parent
commit
e914e6d749
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Sync.js

+ 1 - 3
Sync.js

@@ -154,6 +154,4 @@ Sync(Function);
  * @param milliseconds {Number}
  *        The number of milliseconds to sleep
  */
-Sync.sleep = function Sync_sleep(milliseconds) {
-  sleep.sync(milliseconds);
-};
+Sync.sleep = sleep.sync;