CoreFiles by mySites.guru
word-count.min.js1 lines, 677 bytes, from wordpress-4.3-beta3.zip
Raw History Compare with 4.3-beta2
md5
f170b09753b8b5545f8e5544bec05a9b
sha1
a1dbb8a2fa4944cb4d6c42edb2db433a2499a405
sha256
db60b1367d6dd1b2e2b03b251e375f04dfc5e1b6c0b9aa1b8f9c81750eb67a52
!function(){function a(a){var b;if(a)for(b in a)a.hasOwnProperty(b)&&(this.settings[b]=a[b])}a.prototype.settings={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,spaceRegExp:/&nbsp;|&#160;/gi,removeRegExp:/[0-9.(),;:!?%#$¿'"_+=\\\/-]+/g,wordsRegExp:/\S\s+/g,charactersRegExp:/\S/g,l10n:window.wordCountL10n||{}},a.prototype.count=function(a,b){var c=0;return b=b||this.settings.l10n.type||"words",a&&(a=" "+a+" ",a=a.replace(this.settings.HTMLRegExp," "),a=a.replace(this.settings.spaceRegExp," "),a=a.replace(this.settings.removeRegExp,""),a=a.match(this.settings[b+"RegExp"]),a&&(c=a.length)),c},window.wp=window.wp||{},window.wp.utils=window.wp.utils||{},window.wp.utils.WordCounter=a}();

The same content is in 3 releases, WordPress 4.3-beta1 to 4.3-beta3. See them all, or every version of this file.