]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-includes/js/zxcvbn-async.js
Wordpress 3.7
[autoinstalls/wordpress.git] / wp-includes / js / zxcvbn-async.js
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);