Sha256: 33e57a301bfaef69d40ce0e911f5551849d531440e5a04b8b7aa4a7fd36378bf

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

try{
	<% unless params[:target].blank? -%>
	var target = $('#<%= params[:target] %>');
	<% end -%>
	
	<%= yield %>
	
	<% if msg = flash[:error] || flash[:info] -%>
	$.infoMessage("<%= j msg %>");
	<% end -%>
}catch(e){console.log(e)};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crystal-ext-0.0.3 lib/common_interface/app/views/layouts/theme.js.erb
crystal-ext-0.0.2 lib/common_interface/app/views/layouts/theme.js.erb
crystal-ext-0.0.1 lib/common_interface/app/views/layouts/theme.js.erb