Sha256: cee4bcecdc71869946a6ce6f438d0a140f1d0717012819a77256a980ae2d8020

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

= "try{"

- unless params._target.blank?
  var target = $('#{params._target}');
- else
  var target = $('body');

= yield

- if msg = flash.error || flash.sticky_error
  rad.error("#{h(js(msg))}");
- if msg = flash.info || flash.sticky_info
  rad.info("#{h(js(msg))}");

= "}catch(e){console.log(e)};"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_kit-0.0.10 app/views/kit/layout.js.haml