This commit is contained in:
tatianamac
2019-11-26 14:50:43 -08:00
parent 8a55660ed0
commit 6d5445ecc5
13894 changed files with 2233957 additions and 0 deletions

1
node_modules/hamljs/test/fixtures/class.haml generated vendored Normal file
View File

@ -0,0 +1 @@
.users

1
node_modules/hamljs/test/fixtures/class.html generated vendored Normal file
View File

@ -0,0 +1 @@
<div class="users"></div>

1
node_modules/hamljs/test/fixtures/classes.haml generated vendored Normal file
View File

@ -0,0 +1 @@
.foo.bar.baz_is-awesome

1
node_modules/hamljs/test/fixtures/classes.html generated vendored Normal file
View File

@ -0,0 +1 @@
<div class="foo bar baz_is-awesome"></div>

3
node_modules/hamljs/test/fixtures/code.each.haml generated vendored Normal file
View File

@ -0,0 +1,3 @@
%ul
- each item in items
%li= item

4
node_modules/hamljs/test/fixtures/code.each.html generated vendored Normal file
View File

@ -0,0 +1,4 @@
<ul>
<li>one</li>
<li>two</li>
<li>three</li></ul>

View File

@ -0,0 +1,3 @@
%ul
- each item, index in items
%li= item + '(' + index + ')'

View File

@ -0,0 +1,4 @@
<ul>
<li>one(0)</li>
<li>two(1)</li>
<li>three(2)</li></ul>

View File

@ -0,0 +1,3 @@
%ul
- each item, index in items
%li= item + '(' + index + ')'

View File

@ -0,0 +1 @@
<ul></ul>

1
node_modules/hamljs/test/fixtures/code.escape.haml generated vendored Normal file
View File

@ -0,0 +1 @@
= "<br" + "/>"

1
node_modules/hamljs/test/fixtures/code.escape.html generated vendored Normal file
View File

@ -0,0 +1 @@
&lt;br/&gt;

1
node_modules/hamljs/test/fixtures/code.haml generated vendored Normal file
View File

@ -0,0 +1 @@
!= "foo" + "bar"

1
node_modules/hamljs/test/fixtures/code.html generated vendored Normal file
View File

@ -0,0 +1 @@
foobar

5
node_modules/hamljs/test/fixtures/code.if.else.haml generated vendored Normal file
View File

@ -0,0 +1,5 @@
- name = "not tj :("
- if (name === 'tj')
%p You are logged in
- else
%p You are NOT logged in

1
node_modules/hamljs/test/fixtures/code.if.else.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>You are NOT logged in</p>

3
node_modules/hamljs/test/fixtures/code.if.haml generated vendored Normal file
View File

@ -0,0 +1,3 @@
- name = "tj"
- if (name === 'tj')
%p You are logged in

1
node_modules/hamljs/test/fixtures/code.if.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>You are logged in</p>

5
node_modules/hamljs/test/fixtures/code.nested.haml generated vendored Normal file
View File

@ -0,0 +1,5 @@
- if (true)
- if (false)
%p nope
- if (true)
%p yay

1
node_modules/hamljs/test/fixtures/code.nested.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>yay</p>

View File

@ -0,0 +1,9 @@
/[if IE]
%a{ 'href' : 'http://www.mozilla.com/en-US/firefox/' }
%h1 Get Firefox
/[if IE]
%a{ 'href' : 'http://www.mozilla.com/en-US/firefox/' }
/[if IE 6]
%h1 Get Firefox (IE6 user)
/[if IE 7]
%h1 Get Firefox (IE7 user)

View File

@ -0,0 +1,6 @@
<!--[if IE]>
<a href="http://www.mozilla.com/en-US/firefox/">
<h1>Get Firefox</h1></a><![endif]--><!--[if IE]>
<a href="http://www.mozilla.com/en-US/firefox/"><!--[if IE 6]>
<h1>Get Firefox (IE6 user)</h1><![endif]--><!--[if IE 7]>
<h1>Get Firefox (IE7 user)</h1><![endif]--></a><![endif]-->

5
node_modules/hamljs/test/fixtures/comment.block.haml generated vendored Normal file
View File

@ -0,0 +1,5 @@
/
%ul
%li nope
%li nope
%li nope

5
node_modules/hamljs/test/fixtures/comment.block.html generated vendored Normal file
View File

@ -0,0 +1,5 @@
<!--
<ul>
<li>nope</li>
<li>nope</li>
<li>nope</li></ul> -->

3
node_modules/hamljs/test/fixtures/comment.haml generated vendored Normal file
View File

@ -0,0 +1,3 @@
-# nothing
%p yay
-# whatever you want

1
node_modules/hamljs/test/fixtures/comment.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>yay</p>

1
node_modules/hamljs/test/fixtures/comment.tag.haml generated vendored Normal file
View File

@ -0,0 +1 @@
/ %p foo

2
node_modules/hamljs/test/fixtures/comment.tag.html generated vendored Normal file
View File

@ -0,0 +1,2 @@
<!--
<p>foo</p> -->

View File

@ -0,0 +1,7 @@
%ul
%li one
/ first item
%li two
/ second item
%ul
%li three

View File

@ -0,0 +1,5 @@
<ul>
<li>one</li><!-- first item -->
<li>two</li><!-- second item -->
<ul>
<li>three</li></ul></ul>

2
node_modules/hamljs/test/fixtures/comment.text.haml generated vendored Normal file
View File

@ -0,0 +1,2 @@
%p
/ foo bar baz

1
node_modules/hamljs/test/fixtures/comment.text.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p><!-- foo bar baz --></p>

1
node_modules/hamljs/test/fixtures/context.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%p= this

1
node_modules/hamljs/test/fixtures/context.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>yay</p>

1
node_modules/hamljs/test/fixtures/cr.haml generated vendored Normal file
View File

@ -0,0 +1 @@
#foo

3
node_modules/hamljs/test/fixtures/cr.html generated vendored Normal file
View File

@ -0,0 +1,3 @@
<div id="foo">
<div class="bar"></div>
</div>

2
node_modules/hamljs/test/fixtures/crlf.haml generated vendored Normal file
View File

@ -0,0 +1,2 @@
#foo
.bar

3
node_modules/hamljs/test/fixtures/crlf.html generated vendored Normal file
View File

@ -0,0 +1,3 @@
<div id="foo">
<div class="bar"></div>
</div>

1
node_modules/hamljs/test/fixtures/doctype.haml generated vendored Normal file
View File

@ -0,0 +1 @@
!!!

1
node_modules/hamljs/test/fixtures/doctype.html generated vendored Normal file
View File

@ -0,0 +1 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View File

@ -0,0 +1 @@
!!! xml

View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" ?>

1
node_modules/hamljs/test/fixtures/doctype.xml.haml generated vendored Normal file
View File

@ -0,0 +1 @@
!!! XML

1
node_modules/hamljs/test/fixtures/doctype.xml.html generated vendored Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8" ?>

3
node_modules/hamljs/test/fixtures/error.haml generated vendored Normal file
View File

@ -0,0 +1,3 @@
%html
%body
%p

2
node_modules/hamljs/test/fixtures/escape.haml generated vendored Normal file
View File

@ -0,0 +1,2 @@
%p
\.foo

1
node_modules/hamljs/test/fixtures/escape.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>.foo</p>

11
node_modules/hamljs/test/fixtures/feed.haml generated vendored Normal file
View File

@ -0,0 +1,11 @@
!!! xml
%rss{ version: '2.0' }
%channel
%title ExpressJS
%link http://expressjs.com
%description Is super cool
%language en-us
%item
%title Creating Routes
%description Some stuff
%link http://expressjs.com/routes

11
node_modules/hamljs/test/fixtures/feed.xml generated vendored Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>ExpressJS</title>
<link>http://expressjs.com</link>
<description>Is super cool</description>
<language>en-us</language>
<item>
<title>Creating Routes</title>
<description>Some stuff</description>
<link>http://expressjs.com/routes</link></item></channel></rss>

3
node_modules/hamljs/test/fixtures/filter.cdata.haml generated vendored Normal file
View File

@ -0,0 +1,3 @@
%script
:cdata
foo

3
node_modules/hamljs/test/fixtures/filter.cdata.html generated vendored Normal file
View File

@ -0,0 +1,3 @@
<script><![CDATA[
foo
]]></script>

View File

@ -0,0 +1,7 @@
%script
:cdata
$(function(){
if (foo)
if (bar)
alert('yay')
})

View File

@ -0,0 +1,7 @@
<script><![CDATA[
$(function(){
if (foo)
if (bar)
alert('yay')
})
]]></script>

View File

@ -0,0 +1,8 @@
%head
:javascript
if (foo)
if (bar)
alert("baz")
foo()
bar()
%title Yay

View File

@ -0,0 +1,9 @@
<head><script type="text/javascript">
//<![CDATA[
if (foo)
if (bar)
alert("baz")
foo()
bar()
//]]></script>
<title>Yay</title></head>

5
node_modules/hamljs/test/fixtures/filter.plain.haml generated vendored Normal file
View File

@ -0,0 +1,5 @@
%body
:plain
.foo
bar
= baz

3
node_modules/hamljs/test/fixtures/filter.plain.html generated vendored Normal file
View File

@ -0,0 +1,3 @@
<body>.foo
bar
= baz</body>

2
node_modules/hamljs/test/fixtures/html.haml generated vendored Normal file
View File

@ -0,0 +1,2 @@
%div
<p>literal</p>

1
node_modules/hamljs/test/fixtures/html.html generated vendored Normal file
View File

@ -0,0 +1 @@
<div><p>literal</p></div>

1
node_modules/hamljs/test/fixtures/id.haml generated vendored Normal file
View File

@ -0,0 +1 @@
#users

1
node_modules/hamljs/test/fixtures/id.html generated vendored Normal file
View File

@ -0,0 +1 @@
<div id="users"></div>

1
node_modules/hamljs/test/fixtures/issue.#10.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%label{ for: "forsomething"}

1
node_modules/hamljs/test/fixtures/issue.#10.html generated vendored Normal file
View File

@ -0,0 +1 @@
<label for="forsomething"></label>

4
node_modules/hamljs/test/fixtures/issue.#8.haml generated vendored Normal file
View File

@ -0,0 +1,4 @@
%ul
- each item in items
%li= item
%p= "Total: " + items.length

5
node_modules/hamljs/test/fixtures/issue.#8.html generated vendored Normal file
View File

@ -0,0 +1,5 @@
<ul>
<li>foo</li>
<li>bar</li>
<li>baz</li></ul>
<p>Total: 3</p>

1
node_modules/hamljs/test/fixtures/literals.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%p= user

1
node_modules/hamljs/test/fixtures/literals.html generated vendored Normal file
View File

@ -0,0 +1 @@
<p>tj</p>

1
node_modules/hamljs/test/fixtures/namespace.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%h:table{ 'xmlns:h': 'http://www.w3.org/1999/xhtml' }

5
node_modules/hamljs/test/fixtures/namespace.tag.haml generated vendored Normal file
View File

@ -0,0 +1,5 @@
%body
%fb:test.a
%fb:bar
%fb:foo{ title: 'home' }
%fb:login-button

5
node_modules/hamljs/test/fixtures/namespace.tag.html generated vendored Normal file
View File

@ -0,0 +1,5 @@
<body>
<fb:test class="a"></fb:test>
<fb:bar></fb:bar>
<fb:foo title="home"></fb:foo>
<fb:login-button></fb:login-button></body>

1
node_modules/hamljs/test/fixtures/namespace.xml generated vendored Normal file
View File

@ -0,0 +1 @@
<h:table xmlns:h="http://www.w3.org/1999/xhtml"></h:table>

View File

@ -0,0 +1,6 @@
%html
%head
%title Page Title
%body
%h1 Title
%p some stuff

View File

@ -0,0 +1,6 @@
<html>
<head>
<title>Page Title</title></head>
<body>
<h1>Title</h1>
<p>some stuff</p></body></html>

View File

@ -0,0 +1,6 @@
%ul
%li one
%li two
%li
%ul
%li three

View File

@ -0,0 +1,6 @@
<ul>
<li>one</li>
<li>two</li>
<li>
<ul>
<li>three</li></ul></li></ul>

12
node_modules/hamljs/test/fixtures/newlines.haml generated vendored Normal file
View File

@ -0,0 +1,12 @@
%ul
%li one
%li two
%li three
%li
%ul
%li four
%p foo
%p
bar
baz

9
node_modules/hamljs/test/fixtures/newlines.html generated vendored Normal file
View File

@ -0,0 +1,9 @@
<ul>
<li>one</li>
<li>two</li>
<li>three</li>
<li>
<ul>
<li>four</li></ul></li></ul>
<p>foo</p>
<p>bar baz</p>

View File

@ -0,0 +1,4 @@
%head
%title
tabineko

View File

@ -0,0 +1,2 @@
<head>
<title>tabineko</title></head>

View File

@ -0,0 +1 @@
%p yay #{message + " {oh noes} y u do dis to me"}

View File

@ -0,0 +1 @@
<p>yay it works! {oh noes} y u do dis to me</p>

View File

@ -0,0 +1 @@
%p yay #{message}

View File

@ -0,0 +1 @@
<p>yay it works!</p>

View File

@ -0,0 +1 @@
%input{ type: 'checkbox', checked: true }

View File

@ -0,0 +1 @@
<input type="checkbox" checked="checked"/>

View File

@ -0,0 +1 @@
%option{ value: '<script></script>' }

View File

@ -0,0 +1 @@
<option value="&lt;script&gt;&lt;/script&gt;"></option>

1
node_modules/hamljs/test/fixtures/tag.attrs.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%a{ href: '/', title: 'home' }

1
node_modules/hamljs/test/fixtures/tag.attrs.html generated vendored Normal file
View File

@ -0,0 +1 @@
<a href="/" title="home"></a>

View File

@ -0,0 +1 @@
%h1.title{ class: "red" }

View File

@ -0,0 +1 @@
<h1 class="title red"></h1>

1
node_modules/hamljs/test/fixtures/tag.class.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%h1.title

1
node_modules/hamljs/test/fixtures/tag.class.html generated vendored Normal file
View File

@ -0,0 +1 @@
<h1 class="title"></h1>

1
node_modules/hamljs/test/fixtures/tag.classes.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%body.front-page.editing-user

1
node_modules/hamljs/test/fixtures/tag.classes.html generated vendored Normal file
View File

@ -0,0 +1 @@
<body class="front-page editing-user"></body>

1
node_modules/hamljs/test/fixtures/tag.code.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%div= "yay"

1
node_modules/hamljs/test/fixtures/tag.code.html generated vendored Normal file
View File

@ -0,0 +1 @@
<div>yay</div>

View File

@ -0,0 +1 @@
%div!= "<br/>"

View File

@ -0,0 +1 @@
<div><br/></div>

1
node_modules/hamljs/test/fixtures/tag.complex.haml generated vendored Normal file
View File

@ -0,0 +1 @@
%a#delete-user.first.button{ href: '/', title: 'Click to delete' }= "Delete " + "tj"

Some files were not shown because too many files have changed in this diff Show More