Sha256: d245cbbabe48aa7b29e280a6deab33553d2ee5e79ea13e91762681e8ef9ece48
Contents?: true
Size: 1.82 KB
Versions: 10
Compression:
Stored size: 1.82 KB
Contents
{I" class:EFI"ProcessedAsset; FI"logical_path; FI"Groroacms/vendor/tinymce/js/tinymce/plugins/wordcount/plugin.min.js; TI" pathname; FI"}/Applications/Ruby/engines/roroacms/app/assets/javascripts/roroacms/vendor/tinymce/js/tinymce/plugins/wordcount/plugin.min.js; TI"content_type; FI"application/javascript; FI" mtime; Fl+°£ÖSI"length; Fi¨I"digest; F"%ec1ffc8f8b497ef6852ebb8b49329b98I"source; FI"¨tinymce.PluginManager.add("wordcount",function(e){function t(){e.theme.panel.find("#wordcount").text(["Words: {0}",a.getCount()])}var n,o,a=this;n=e.getParam("wordcount_countregex",/[\w\u2019\x27\-\u00C0-\u1FFF]+/g),o=e.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\x27\x22_+=\\\/\-]*/g),e.on("init",function(){var n=e.theme.panel&&e.theme.panel.find("#statusbar")[0];n&&window.setTimeout(function(){n.insert({type:"label",name:"wordcount",text:["Words: {0}",a.getCount()],classes:"wordcount",disabled:e.settings.readonly},0),e.on("setcontent beforeaddundo",t),e.on("keyup",function(e){32==e.keyCode&&t()})},0)}),a.getCount=function(){var t=e.getContent({format:"raw"}),a=0;if(t){t=t.replace(/\.\.\./g," "),t=t.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," "),t=t.replace(/(\w+)(&#?[a-z0-9]+;)+(\w+)/i,"$1$3").replace(/&.+?;/g," "),t=t.replace(o,"");var r=t.match(n);r&&(a=r.length)}return a}}); ; TI"dependency_digest; F"%8c695574de2e30bb0f0fceb928fdada4I"required_paths; F[I"}/Applications/Ruby/engines/roroacms/app/assets/javascripts/roroacms/vendor/tinymce/js/tinymce/plugins/wordcount/plugin.min.js; TI"dependency_paths; F[{I" path; FI"}/Applications/Ruby/engines/roroacms/app/assets/javascripts/roroacms/vendor/tinymce/js/tinymce/plugins/wordcount/plugin.min.js; TI" mtime; FI"2014-07-28T20:25:36+01:00; FI"digest; F"%adca37cd2ba6975b9fbecabc45ef4bffI" _version; F"%134d714864361d96664b8e1779275370
Version data entries
10 entries across 10 versions & 1 rubygems