X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=plugins%2Fstylesheetparser%2Fplugin.js;fp=plugins%2Fstylesheetparser%2Fplugin.js;h=adba31f5dad9d8ec24f4200d4c50d25c6177d001;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=0000000000000000000000000000000000000000;hpb=1056598c95187351dc58f4991d331e2258d038b5;p=ckeditor.git diff --git a/plugins/stylesheetparser/plugin.js b/plugins/stylesheetparser/plugin.js new file mode 100644 index 0000000..adba31f --- /dev/null +++ b/plugins/stylesheetparser/plugin.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){function a(c,d,e){var f=c.join(' ');f=f.replace(/(,|>|\+|~)/g,' ');f=f.replace(/\[[^\]]*/g,'');f=f.replace(/#[^\s]*/g,'');f=f.replace(/\:{1,2}[^\s]*/g,'');f=f.replace(/\s+/g,' ');var g=f.split(' '),h=[];for(var i=0;i