update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
15
dashboard-ui/bower_components/prism/tests/languages/markup/cdata_feature.test
vendored
Normal file
15
dashboard-ui/bower_components/prism/tests/languages/markup/cdata_feature.test
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<![CDATA[ foo bar baz ]]>
|
||||
<![CDATA[
|
||||
foo bar baz
|
||||
]]>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["cdata", "<![CDATA[ foo bar baz ]]>"],
|
||||
["cdata", "<![CDATA[\r\nfoo bar baz\r\n]]>"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for CDATA sections, single-line and multi-line.
|
16
dashboard-ui/bower_components/prism/tests/languages/markup/comment_feature.test
vendored
Normal file
16
dashboard-ui/bower_components/prism/tests/languages/markup/comment_feature.test
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!---->
|
||||
<!-- foo bar -->
|
||||
<!-- foo bar
|
||||
baz -->
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "<!---->"],
|
||||
["comment", "<!-- foo bar -->"],
|
||||
["comment", "<!-- foo bar\r\nbaz -->"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for empty comment, single-line comment and multi-line comment.
|
16
dashboard-ui/bower_components/prism/tests/languages/markup/doctype_feature.test
vendored
Normal file
16
dashboard-ui/bower_components/prism/tests/languages/markup/doctype_feature.test
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["doctype", "<!DOCTYPE html>"],
|
||||
["doctype", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">"],
|
||||
["doctype", "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for different doctypes, single-line and multi-line.
|
14
dashboard-ui/bower_components/prism/tests/languages/markup/entity_feature.test
vendored
Normal file
14
dashboard-ui/bower_components/prism/tests/languages/markup/entity_feature.test
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
& ϑ ⛵  
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["entity", "&"],
|
||||
["entity", "ϑ"],
|
||||
["entity", "⛵"],
|
||||
["entity", " "]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for HTML/XML character entity references.
|
63
dashboard-ui/bower_components/prism/tests/languages/markup/issue585.test
vendored
Normal file
63
dashboard-ui/bower_components/prism/tests/languages/markup/issue585.test
vendored
Normal file
|
@ -0,0 +1,63 @@
|
|||
<Läufer>foo</Läufer>
|
||||
<tag läufer="läufer">
|
||||
<läufer:tag>baz</läufer:tag>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"Läufer"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"foo",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"Läufer"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"tag"
|
||||
]],
|
||||
["attr-name", [
|
||||
"läufer"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"läufer",
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
["namespace", "läufer:"],
|
||||
"tag"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"baz",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
["namespace", "läufer:"],
|
||||
"tag"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for tags, attributes and namespaces containing unicode characters.
|
||||
See #585 for details.
|
16
dashboard-ui/bower_components/prism/tests/languages/markup/prolog_feature.test
vendored
Normal file
16
dashboard-ui/bower_components/prism/tests/languages/markup/prolog_feature.test
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="tei2html.xsl"
|
||||
type="text/xsl"?>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["prolog", "<?xml version=\"1.0\"?>"],
|
||||
["prolog", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"],
|
||||
["prolog", "<?xml-stylesheet href=\"tei2html.xsl\"\r\ntype=\"text/xsl\"?>"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for different XML prologs, single-line and multi-line.
|
92
dashboard-ui/bower_components/prism/tests/languages/markup/tag_attribute_feature.test
vendored
Normal file
92
dashboard-ui/bower_components/prism/tests/languages/markup/tag_attribute_feature.test
vendored
Normal file
|
@ -0,0 +1,92 @@
|
|||
<div class="test" foo bar=baz>
|
||||
<div foo='bar'>
|
||||
<div class="foo
|
||||
bar
|
||||
baz">
|
||||
<div foo:bar=42>
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", [
|
||||
"class"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"test",
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["attr-name", [
|
||||
"foo"
|
||||
]],
|
||||
["attr-name", [
|
||||
"bar"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
"baz"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", [
|
||||
"foo"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "'"],
|
||||
"bar",
|
||||
["punctuation", "'"]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", [
|
||||
"class"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
["punctuation", "\""],
|
||||
"foo\r\nbar\r\nbaz",
|
||||
["punctuation", "\""]
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["attr-name", [
|
||||
["namespace", "foo:"],
|
||||
"bar"
|
||||
]],
|
||||
["attr-value", [
|
||||
["punctuation", "="],
|
||||
"42"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-quoted, double-quoted and unquoted attributes, attributes without value and
|
||||
namespaced attributes.
|
81
dashboard-ui/bower_components/prism/tests/languages/markup/tag_feature.test
vendored
Normal file
81
dashboard-ui/bower_components/prism/tests/languages/markup/tag_feature.test
vendored
Normal file
|
@ -0,0 +1,81 @@
|
|||
<p></p>
|
||||
<div>dummy</div>
|
||||
<div
|
||||
> </div
|
||||
>
|
||||
<foo:bar> </foo:bar>
|
||||
<div
|
||||
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"p"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"p"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"dummy",
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"div"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
"div"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
"div"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "<"],
|
||||
["namespace", "foo:"],
|
||||
"bar"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
["tag", [
|
||||
["tag", [
|
||||
["punctuation", "</"],
|
||||
["namespace", "foo:"],
|
||||
"bar"
|
||||
]],
|
||||
["punctuation", ">"]
|
||||
]],
|
||||
"\r\n<div"
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for empty tags, tags that span multiple lines and namespaces in tag names.
|
||||
Also checks that unclosed tags (e.g. "<div") are not highlighted.
|
Loading…
Add table
Add a link
Reference in a new issue