Sha256: af69ec893668018b5fd33d5630a56514b9a69fa2845d5678e139a281bb033fda

Contents?: true

Size: 1.87 KB

Versions: 4

Compression:

Stored size: 1.87 KB

Contents

o: ActiveSupport::Cache::Entry	:@expires_in0:@compressedF:@created_atf1328450937.5044379H¶:@value"{"required_assets_digest"%531362ca5e7a9d646fb5034ffa98cde0"content_type"application/javascript"
class"BundledAsset"
mtime"2011-09-13T21:23:24+02:00"
_version"%aa7d0db7619379e13b08335dee027df2"digest"%a95946403bb52133b3f24792fd277e56"
pathname"g/Users/bastiaan/Files/Work/rich/vendor/assets/ckeditor/ckeditor/plugins/stylesheetparser/plugin.js"logical_path"0ckeditor/plugins/stylesheetparser/plugin.js"lengthiY"source"Y/*
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<g.length;i++){var j=g[i];if(e.test(j)&&!d.test(j))if(CKEDITOR.tools.indexOf(h,j)==-1)h.push(j);}return h;};function b(c,d,e){var f=[],g=[],h;for(h=0;h<c.styleSheets.length;h++){var i=c.styleSheets[h],j=i.ownerNode||i.owningElement;if(j.getAttribute('data-cke-temp'))continue;if(i.href&&i.href.substr(0,9)=='chrome://')continue;var k=i.cssRules||i.rules;for(var l=0;l<k.length;l++)g.push(k[l].selectorText);}var m=a(g,d,e);for(h=0;h<m.length;h++){var n=m[h].split('.'),o=n[0].toLowerCase(),p=n[1];f.push({name:o+'.'+p,element:o,attributes:{'class':p}});}return f;};CKEDITOR.plugins.add('stylesheetparser',{requires:['styles'],onLoad:function(){var c=CKEDITOR.editor.prototype;c.getStylesSet=CKEDITOR.tools.override(c.getStylesSet,function(d){return function(e){var f=this;d.call(this,function(g){var h=f.config.stylesheetParser_skipSelectors||/(^body\.|^\.)/i,i=f.config.stylesheetParser_validSelectors||/\w+\.\w+/;e(f._.stylesDefinitions=g.concat(b(f.document.$,h,i)));});};});}});})();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rich-1.0.3 test/dummy/tmp/cache/assets/D80/6E0/sprockets%2F69e017aaae756eafe9df386c5048a587
rich-1.0.2 test/dummy/tmp/cache/assets/D80/6E0/sprockets%2F69e017aaae756eafe9df386c5048a587
rich-1.0.1 test/dummy/tmp/cache/assets/D80/6E0/sprockets%2F69e017aaae756eafe9df386c5048a587
rich-1.0.0 test/dummy/tmp/cache/assets/D80/6E0/sprockets%2F69e017aaae756eafe9df386c5048a587