o: ActiveSupport::Cache::Entry :@expires_in0:@compressedF: @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"%1c9609bc58b1e77c196de29021583379"id"%3f8aad8043d75edc2d36111294ce369c"dependency_paths[ {"hexdigest"%e3a25c2e243e5d761d73ff4b468e1844" mtimeu: Time 怀u" path"j/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/application.js{@"%9625f1bd8828ea322590d51fcf2b1317@u; §å€ Œ@!"X/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery.js{@"%c9dcca4dcf55c7366a2a62dd0c6d83c7@u; ó倠p@!"g/Users/bastiaan/Files/Work/Perceptor website/_sandbox/rich/app/assets/javascripts/rich/uploader.js{@"%9a8e4ba07de007c7f35c2ba96cb14813@u; §å€ Œ@!"\/Library/Ruby/Gems/1.8/gems/jquery-rails-1.0.16/vendor/assets/javascripts/jquery_ujs.js{@"%addbff12f105478f8733f0102e87dc00@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:@created_atf1319211049.4183049Å‚