Sha256: 68ac7f56cd6cd7dd2f8689cbec9fcd575d583e8aa8fa4d0b0d619eb5050f958e
Contents?: true
Size: 981 Bytes
Versions: 1
Compression:
Stored size: 981 Bytes
Contents
# [./spec/render/filters/coffee_spec.rb:4](../../../../spec/render/filters/coffee_spec.rb#L4) ## Input ```haml :coffee square = (x) -> x * x square(3) ``` ## Faml ```html <script> (function() { var square; square = function(x) { return x * x; }; square(3); }).call(this); </script> ``` ## Haml, Hamlit ```html <script> (function() { var square; square = function(x) { return x * x; }; square(3); }).call(this); </script> ``` # [./spec/render/filters/coffee_spec.rb:15](../../../../spec/render/filters/coffee_spec.rb#L15) ## Input ```haml :coffee square = (x) -> x * x square(#{1 + 2}) ``` ## Faml ```html <script> (function() { var square; square = function(x) { return x * x; }; square(3); }).call(this); </script> ``` ## Haml, Hamlit ```html <script> (function() { var square; square = function(x) { return x * x; }; square(3); }).call(this); </script> ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
faml-0.2.14 | incompatibilities/spec/render/filters/coffee_spec.md |