summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/haml1.haml
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-23 11:14:27 +0100
committerGravatar Tom Willemsen2011-03-23 11:14:27 +0100
commit0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch)
tree1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/haml1.haml
parentd4510153b17625a3dd2f1852cc6392fc26efecf6 (diff)
downloaddotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz
dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/haml1.haml')
-rw-r--r--emacs.d/nxhtml/tests/in/haml1.haml132
1 files changed, 0 insertions, 132 deletions
diff --git a/emacs.d/nxhtml/tests/in/haml1.haml b/emacs.d/nxhtml/tests/in/haml1.haml
deleted file mode 100644
index 85f2324..0000000
--- a/emacs.d/nxhtml/tests/in/haml1.haml
+++ /dev/null
@@ -1,132 +0,0 @@
-!!! XML
-!!!
-
-%html{:xmlns => "http://www.w3.org/1999/xhtml", "xml:lang" => "en", :lang => "en"}
-
-%title
- = @title
- \= @title
-
-%script{:type => "text/javascript",
- :src => "javascripts/script_#{2 + 7}"}
-
-%gee
- %whiz
- Wow this is cool!
-%p
- <div id="blah">Blah!</div>
-%one
- %two
- %three Hey there
-
-%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en")
-
-%a(title=@title href=href) Stuff
-%a{:title => @title, :href => href} Stuff
-
-%script(type="text/javascript"
- src="javascripts/script_#{2 + 7}")
-
-%html{html_attrs('fr-fr')}
-
-%input{:selected => true}
-%input(selected)
-%input(selected=true)
-
-%div#things
- %span#rice Chicken Fried
- %p.beans{ :food => 'true' } The magical fruit
- %h1.class.otherclass#id La La La
-
-#content .articles
- .article.title Doogie Howser Comes Out
- .article.date 2006-11-05
- .article.entry
- Neil Patrick Harris would like to dispel any rumors that he is straight
-
-%br/
-%meta{'http-equiv' => 'Content-Type', :content => 'text/html'}/
-
-%br
-%meta{'http-equiv' => 'Content-Type', :content => 'text/html'}
-
-%blockquote<
- %div
- Foo!
-
-%img
-%img>
-%img
-
-%img
-%pre><
- foo
- bar
-%img
-
-%peanutbutterjelly
- / This is the peanutbutterjelly element
- I like sandwiches!
-
-/
- %p This doesn't render...
- %div
- %h1 Because it's commented out!
-
-/[if IE]
- %a{ :href => 'http://www.mozilla.com/en-US/firefox/' }
- %h1 Get Firefox
-
-%p foo
--# This is a comment
-%p bar
-
-- foo = "hello"
-- foo << " there"
-- foo << " you!"
-%p= foo
-
-- (42...47).each do |i|
- %p= i
-%p See, I can count!
-
-%p
- - case 2
- - when 1
- = "1!"
- - when 2
- = "2?"
- - when 3
- = "3."
-
-%p This is #{h quality} cake!
-%p= "This is the #{h quality} cake!"
-
-%p
- Look at \\#{h word} lack of backslash: \#{foo}
- And yon presence thereof: \{foo}
-
-:javascript
- $(document).ready(function() {
- alert(#{@message.to_json});
- });
-
-&= "I like cheese & crackers"
-
-= "I feel <strong>!"
-!= "I feel <strong>!"
-compiles to
-I feel &lt;strong&gt;!
-I feel <strong>!
-
-%p
- :markdown
- Textile
- =======
-
- Hello, *World*
-
-- flavor = "raspberry"
-#content
- :textile
- I *really* prefer _#{h flavor}_ jam.