| author | gibus |
| Tue, 11 Feb 2014 12:33:25 +0100 | |
| changeset 572 | 93383e54e042 |
| parent 525 | 89ef5ed3c48b |
| permissions | -rw-r--r-- |
| 525 | 1 |
/* |
2 |
YUI 3.10.3 (build 2fb5187) |
|
3 |
Copyright 2013 Yahoo! Inc. All rights reserved. |
|
4 |
Licensed under the BSD License. |
|
5 |
http://yuilibrary.com/license/ |
|
6 |
*/ |
|
7 |
||
8 |
YUI.add("yui-later",function(e,t){var n=[];e.later=function(t,r,i,s,o){t=t||0,s=e.Lang.isUndefined(s)?n:e.Array(s),r=r||e.config.win||e;var u=!1,a=r&&e.Lang.isString(i)?r[i]:i,f=function(){u||(a.apply?a.apply(r,s||n):a(s[0],s[1],s[2],s[3]))},l=o?setInterval(f,t):setTimeout(f,t);return{id:l,interval:o,cancel:function(){u=!0,this.interval?clearInterval(l):clearTimeout(l)}}},e.Lang.later=e.later},"3.10.3",{requires:["yui-base"]}); |