Sha256: cba69c296c085b80acf6044ee79d789a1691724f3aec4f9c26489a21987a60c5

Contents?: true

Size: 785 Bytes

Versions: 4

Compression:

Stored size: 785 Bytes

Contents

o: ActiveSupport::Cache::Entry	:@expires_in0:@compressedF:@value{	"
_version"%e5782fcc3e55a98f1d77b14bc2df68d4"digest"%2289ccbe4c3cfab2008eef5544a5b27e"lengthi8"source"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?
	
});
:@created_atf1323605755.2550831SH

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rich-1.0.3 test/dummy/tmp/cache/assets/D89/D60/sprockets%2F3f311ef8cee787d7b7c3816c8be3e877
rich-1.0.2 test/dummy/tmp/cache/assets/D89/D60/sprockets%2F3f311ef8cee787d7b7c3816c8be3e877
rich-1.0.1 test/dummy/tmp/cache/assets/D89/D60/sprockets%2F3f311ef8cee787d7b7c3816c8be3e877
rich-1.0.0 test/dummy/tmp/cache/assets/D89/D60/sprockets%2F3f311ef8cee787d7b7c3816c8be3e877