update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
38
dashboard-ui/bower_components/prism/tests/languages/jade/script_feature.test
vendored
Normal file
38
dashboard-ui/bower_components/prism/tests/languages/jade/script_feature.test
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
script alert(42);
|
||||
script(type='text/javascript') alert(42);
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["tag", [
|
||||
"script"
|
||||
]],
|
||||
["script", [
|
||||
["function", "alert"],
|
||||
["punctuation", "("],
|
||||
["number", "42"],
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"]
|
||||
]],
|
||||
["tag", [
|
||||
"script",
|
||||
["attributes", [
|
||||
["punctuation", "("],
|
||||
["attr-name", "type"],
|
||||
["punctuation", "="],
|
||||
["attr-value", [["string", "'text/javascript'"]]],
|
||||
["punctuation", ")"]
|
||||
]]
|
||||
]],
|
||||
["script", [
|
||||
["function", "alert"],
|
||||
["punctuation", "("],
|
||||
["number", "42"],
|
||||
["punctuation", ")"],
|
||||
["punctuation", ";"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for single-line scripts.
|
Loading…
Add table
Add a link
Reference in a new issue