Sha256: 591b08c8f717bd9212789a60c3a174cb476f1af0c15c3af1a6f0bed925042177
Contents?: true
Size: 1.25 KB
Versions: 6
Compression:
Stored size: 1.25 KB
Contents
# [coffee\_spec.rb:3](/spec/hamlit/filters/coffee_spec.rb#L3) ## Input ```haml :coffee foo = -> alert('hello') ``` ## Output ### Faml ```html <script> (function() { var foo; foo = function() { return alert('hello'); }; }).call(this); </script> ``` ### Hamlit ```html <script> (function() { var foo; foo = function() { return alert('hello'); }; }).call(this); </script> ``` # [coffee\_spec.rb:22](/spec/hamlit/filters/coffee_spec.rb#L22) ## Input ```haml :coffee foo = -> alert('hello') ``` ## Output ### Faml ```html <script> (function() { var foo; foo = function() { return alert('hello'); }; }).call(this); </script> ``` ### Hamlit ```html <script> (function() { var foo; foo = function() { return alert('hello'); }; }).call(this); </script> ``` # [coffee\_spec.rb:41](/spec/hamlit/filters/coffee_spec.rb#L41) ## Input ```haml :coffee foo = -> alert("#{'<&>'}") ``` ## Output ### Faml ```html <script> (function() { var foo; foo = function() { return alert("<&>"); }; }).call(this); </script> ``` ### Hamlit ```html <script> (function() { var foo; foo = function() { return alert("<&>"); }; }).call(this); </script> ```
Version data entries
6 entries across 6 versions & 1 rubygems