Ticket #26018: 26018.2.diff
File 26018.2.diff, 566 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/js/word-count.js
1 /* global wordCountL10n */ 1 2 (function($,undefined) { 2 wpWordCount = {3 var wpWordCount = { 3 4 4 5 settings : { 5 6 strip : /<[a-zA-Z\/][^<>]*>/g, // strip HTML tags … … 34 35 setTimeout( function() { t.block = 0; }, 2000 ); 35 36 }, 1 ); 36 37 } 37 } 38 }; 38 39 39 40 $(document).bind( 'wpcountwords', function(e, txt) { 40 41 wpWordCount.wc(txt);