Sha256: 52d3b9aed98e7e2c78073da495b0afe526521a8d5f3863ff738084e6a6b35dbc

Contents?: true

Size: 267 Bytes

Versions: 13

Compression:

Stored size: 267 Bytes

Contents

key = "#{@key}#{@node[:zip]}"

page << "try {"
page << "if ($('#{key}').classNames().include('zazen')) {"
page.replace_html key, zazen(@value, :pretty_code=>true, :preview => true)
page << "} else {"
page.replace_html key, @value
page << "}"
page << "} catch(err) {}"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zena-0.16.9 app/views/versions/preview.rjs
zena-0.16.8 app/views/versions/preview.rjs
zena-0.16.7 app/views/versions/preview.rjs
zena-0.16.6 app/views/versions/preview.rjs
zena-0.16.5 app/views/versions/preview.rjs
zena-0.16.4 app/views/versions/preview.rjs
zena-0.16.3 app/views/versions/preview.rjs
zena-0.16.2 app/views/versions/preview.rjs
zena-0.16.1 app/views/versions/preview.rjs
zena-0.16.0 app/views/versions/preview.rjs
zena-0.15.2 app/views/versions/preview.rjs
zena-0.15.1 app/views/versions/preview.rjs
zena-0.15.0 app/views/versions/preview.rjs