CoreFiles by mySites.guru
word-count.js1 lines, 692 bytes, from wordpress-3.2-beta1.zip
Raw History Compare with 3.1-beta2
md5
592ed0c8b5ac3a722ef44737d30a24cd
sha1
5461c513711fb8d83f2d5c59c65ebe4a7a6baa2c
sha256
91ae84bf9365ab18d2f074be346057af8ba9ecabc8c969efae23ca284ae1dfa4
(function(a){wpWordCount={init:function(){var b=this,c=0,d=a("#content");a("#wp-word-count").html(wordCountL10n.count.replace(/%d/,'<span class="word-count">0</span>'));b.block=0;b.wc(d.val());d.keyup(function(f){if(f.keyCode==c){return true}if(13==f.keyCode||8==c||46==c){b.wc(d.val())}c=f.keyCode;return true})},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(/<.[^<>]*?>/g," ").replace(/&nbsp;|&#160;/gi," ");d=d.replace(/[0-9.(),;:!?%#$¿'"_+=\\/-]*/g,"");d.replace(/\S\s+/g,function(){b++})}c.html(b.toString());setTimeout(function(){e.block=0},2000)},1)}};a(document).ready(function(){wpWordCount.init()})}(jQuery));

No other release has this exact content. See every version of this file.