| 23924 | |
| 23925 | } |
| 23926 | function runClearTimeout(marker) { |
| 23927 | if (cachedClearTimeout === clearTimeout) { |
| 23928 | //normal enviroments in sane situations |
| 23929 | return clearTimeout(marker); |
| 23930 | } |
| 23931 | // if clearTimeout wasn't available but was latter defined |
| 23932 | if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { |
| 23933 | cachedClearTimeout = clearTimeout; |
| 23934 | return clearTimeout(marker); |
| 23935 | } |
| 23936 | try { |
| 23937 | // when when somebody has screwed with setTimeout but no I.E. maddness |
| 23938 | return cachedClearTimeout(marker); |
| 23939 | } catch (e){ |
| 23940 | try { |
| 23941 | // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally |
| 23942 | return cachedClearTimeout.call(null, marker); |
| 23943 | } catch (e){ |
| 23944 | // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. |
| 23945 | // Some versions of I.E. have different rules for clearTimeout vs setTimeout |
| 23946 | return cachedClearTimeout.call(this, marker); |
| 23947 | } |
| 23948 | } |
| 23949 | |
| 23950 | |
| 23951 | |
| 23952 | } |
| 23953 | var queue = []; |
| 23954 | var draining = false; |
| 23955 | var currentQueue; |