changeset 0 | d970ebf37754 |
child 5 | 5e2f62d02dcd |
-1:000000000000 | 0:d970ebf37754 |
---|---|
1 (function() { |
|
2 var async_load = function() { |
|
3 var first, s; |
|
4 s = document.createElement('script'); |
|
5 s.src = _zxcvbnSettings.src; |
|
6 s.type = 'text/javascript'; |
|
7 s.async = true; |
|
8 first = document.getElementsByTagName('script')[0]; |
|
9 return first.parentNode.insertBefore(s, first); |
|
10 }; |
|
11 |
|
12 if (window.attachEvent != null) { |
|
13 window.attachEvent('onload', async_load); |
|
14 } else { |
|
15 window.addEventListener('load', async_load, false); |
|
16 } |
|
17 }).call(this); |