Sha256: ceff11540b3063b7bf0a8105c1e2aa18546aa20bc0fcc60cbd773f8b2a92946c

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

o: ActiveSupport::Cache::Entry	:@expires_in0:@compressedF:@value{"asset_paths["V/Users/bastiaan/Files/Work/rich/app/assets/javascripts/rich/editor/rich_finder.js"	body"8// Direct asset finder configuration

var rich = rich || {};
rich.AssetFinder = function(){
	
};

rich.AssetFinder.prototype = {
	
	showFinder: function(id){
		// open a popup
		console.log(id);
  },

	setAsset: function(id, asset){
		// callback from popup
		console.log(id);
  },
	
};

// Rich Asset input
var assetFinder = new rich.AssetFinder();
$(function(){
	$('.rich_asset').live('click', function(e){

		if($(this).get(0).tagName=="INPUT") {
			assetFinder.showFinder($(this).attr('id'));
		}
	});
	
	// on hover, show a thumbnail of the selected image?
	
});
"content_type"application/javascript"
class"BundledAsset"
mtime"2011-11-19T15:58:19+01:00"
_version"%46dde6621c301f4928e3b34efee9e3b5"id"%e5782fcc3e55a98f1d77b14bc2df68d4"dependency_paths[{"hexdigest"%bccf67834c14dbd59636f8299ca0e226"
mtimeu:	Time
nê€0é"	path"V/Users/bastiaan/Files/Work/rich/app/assets/javascripts/rich/editor/rich_finder.js"
pathname"V/Users/bastiaan/Files/Work/rich/app/assets/javascripts/rich/editor/rich_finder.js"logical_path"rich/editor/rich_finder.js:@created_atf1323605754.921783þ~

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rich-1.0.3 test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888
rich-1.0.2 test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888
rich-1.0.1 test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888
rich-1.0.0 test/dummy/tmp/cache/assets/D3B/9D0/sprockets%2Fbe23efc42b103a6190e6b77e0aa86888