Sha256: 051e82fff40f854cee3bacde733aeb6a49d146438319cc0166d8883843dfab34

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

/* global _zxcvbnSettings */
(function() {
  var async_load = function() {
    var first, s;
    s = document.createElement('script');
    s.src = _zxcvbnSettings.src;
    s.type = 'text/javascript';
    s.async = true;
    first = document.getElementsByTagName('script')[0];
    return first.parentNode.insertBefore(s, first);
  };

  if (window.attachEvent != null) {
    window.attachEvent('onload', async_load);
  } else {
    window.addEventListener('load', async_load, false);
  }
}).call(this);

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
boot-cli-1.0.0 lib/templates/wordpress/wp-includes/js/zxcvbn-async.js
boot-cli-0.3.1 lib/templates/wordpress/wp-includes/js/zxcvbn-async.js
boot-cli-0.3.0 lib/templates/wordpress/wp-includes/js/zxcvbn-async.js
stump-cli-0.1.3 lib/wp/wp-includes/js/zxcvbn-async.js
stump-cli-0.1.2 lib/wp/wp-includes/js/zxcvbn-async.js
stump-cli-0.1.1 lib/wp/wp-includes/js/zxcvbn-async.js