From ed73413105083b5b57f59c0cf6e2427345aa6803 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 4 Dec 2013 19:52:45 +0000 Subject: [PATCH] Add a copyright notice to zxcvbn. fixes #25926. git-svn-id: https://develop.svn.wordpress.org/trunk@26629 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/zxcvbn.min.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/js/zxcvbn.min.js b/src/wp-includes/js/zxcvbn.min.js index 2a94520ef1..cb9d4474a7 100644 --- a/src/wp-includes/js/zxcvbn.min.js +++ b/src/wp-includes/js/zxcvbn.min.js @@ -1,3 +1,7 @@ +/*! zxcvbn - v1.0.0 + * realistic password strength estimation + * https://github.com/dropbox/zxcvbn + * Copyright (c) 2012 Dropbox, Inc.; Licensed MIT */ (function(){var x,o,r,y,K,L,M,N,O,P,Q,R,z,q,A,S,T,U,u,V,W,X;u=function(b){return b.replace(/[a-zA-Z]/g,function(a){return String.fromCharCode(("Z">=a?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)})};Q=function(b){var a,d;d=[];for(a in b)d.push(a);return 0===d.length};z=function(b,a){return b.push.apply(b,a)};W=function(b,a){var d,c,e,f,g;f=b.split("");g=[];c=0;for(e=f.length;ce;d=0<=e?++j:--j)for(c=k=d;d<=e?ke;c=d<=e?++k:--k)if(f.slice(d,+c+1||9E9)in a)i=f.slice(d,+c+1||9E9),g=a[i],h.push({pattern:"dictionary",i:d,j:c,token:b.slice(d,+c+1||9E9),matched_word:u(i),rank:g});return h};r=function(b){var a,d,c,e,f;d={};a=1;e=0;for(f=b.length;e