o: ActiveSupport::Cache::Entry :@created_atf1319053838.610842 :@expires_in0: @value{"asset_paths[ "X/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery.js"\/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.js"i/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/vendor/assets/javascripts/fileuploader.js"g/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/uploader.js"j/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/application.js" body"*// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // var rich_current_style = ""; function selectStyle(name) { rich_current_style = name; $('#styles li').removeClass('selected'); $('#style-'+name).addClass('selected'); } (function($) { $.QueryString = (function(a) { if (a == "") return {}; var b = {}; for (var i = 0; i < a.length; ++i) { var p=a[i].split('='); if (p.length != 2) continue; b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " ")); } return b; })(window.location.search.substr(1).split('&')) })(jQuery); $(function() { // click an image to insert it in the editor $('#images li img').live('click', function(e){ //var url = $(this).data('url'); // var url = $(this).attr('src'); var url = $(this).data('uris')[rich_current_style]; var id = $(this).data('rich-image-id'); window.opener.CKEDITOR.tools.callFunction($.QueryString["CKEditorFuncNum"], url, id); window.setTimeout(function(){ window.close(); },500); }); $('#styles li').click(function(e){ selectStyle($(this).data('rich-style')); }); // preselect the default style selectStyle($('#styles').data('default-style')); // fancy uploading new rich.Uploader(); }); "content_type"application/javascript" class"BundledAsset" mtime"2011-10-16T15:29:24+02:00" _version"%46dde6621c301f4928e3b34efee9e3b5"id"%6913da3166706d05d2a58ef6081fadfa"dependency_paths[ {"hexdigest"%7d1da40db2a79cd3e7e4da2ff06121ef" mtimeu: Time 怀u" path"j/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/application.js{@"%edf6bc5888735e82a8f6769492e5dccd@ u; §å€ Œ@""X/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery.js{@"%1c5123015ba793b65735bf80e6189ef9@ u; ó倠p@""g/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/uploader.js{@"%bff4d9f9bd40708015f5ae4e34621c2c@ u; §å€ Œ@""\/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.js{@"%b65180255201eb80599eea6164c911b6@ u; Ô䀵@""i/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/vendor/assets/javascripts/fileuploader.js" pathname"j/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/application.js"logical_path"rich/application.js:@compressedF