Sha256: 7c86694ef47f5baab6e842ac31df1f45e016b7a7d035f428ca94478fb22ca25b

Contents?: true

Size: 268 Bytes

Versions: 20

Compression:

Stored size: 268 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

20 entries across 20 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/versions/preview.rjs
zena-1.2.7 app/views/versions/preview.rjs
zena-1.2.6 app/views/versions/preview.rjs
zena-1.2.5 app/views/versions/preview.rjs
zena-1.2.4 app/views/versions/preview.rjs
zena-1.2.3 app/views/versions/preview.rjs
zena-1.2.2 app/views/versions/preview.rjs
zena-1.2.1 app/views/versions/preview.rjs
zena-1.2.0 app/views/versions/preview.rjs
zena-1.1.3 app/views/versions/preview.rjs
zena-1.1.2 app/views/versions/preview.rjs
zena-1.1.1 app/views/versions/preview.rjs
zena-1.1.0 app/views/versions/preview.rjs
zena-1.0.0 app/views/versions/preview.rjs
zena-1.0.0.rc3 app/views/versions/preview.rjs
zena-1.0.0.rc2 app/views/versions/preview.rjs
zena-1.0.0.rc1 app/views/versions/preview.rjs
zena-1.0.0.beta3 app/views/versions/preview.rjs
zena-1.0.0.beta2 app/views/versions/preview.rjs
zena-1.0.0.beta1 app/views/versions/preview.rjs