CoreFiles by mySites.guru
word-count.js1 lines, 516 bytes, from wordpress-3.2.zip
Raw History Compare with 3.1.4
md5
1f1fbcd7486060c4dbfdea32433cce24
sha1
8b86251f30408d401be8e2fba27825209f253f1e
sha256
85bc95d66372699095953cd5a027e69311362f2f9f0c00cfaf7d75b67f930008
(function(a){wpWordCount={settings:{strip:/<[a-zA-Z\/][^<>]*>/g,clean:/[0-9.(),;:!?%#$¿'"_+=\\/-]+/g,count:/\S\s+/g},block:0,wc:function(d){var e=this,c=a(".word-count"),b=0;if(e.block){return}e.block=1;setTimeout(function(){if(d){d=d.replace(e.settings.strip," ").replace(/&nbsp;|&#160;/gi," ");d=d.replace(e.settings.clean,"");d.replace(e.settings.count,function(){b++})}c.html(b.toString());setTimeout(function(){e.block=0},2000)},1)}};a(document).bind("wpcountwords",function(c,b){wpWordCount.wc(b)})}(jQuery));

The same content is in 18 releases, WordPress 3.2-beta2 to 3.3.3. See them all, or every version of this file.