update components
This commit is contained in:
parent
2a4b879c21
commit
63664e6c1c
1155 changed files with 62261 additions and 84 deletions
41
dashboard-ui/bower_components/prism/tests/languages/smarty/function_feature.test
vendored
Normal file
41
dashboard-ui/bower_components/prism/tests/languages/smarty/function_feature.test
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
{if count($foo)}
|
||||
{$foo|@count}
|
||||
{$bar|lower}
|
||||
{/if}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["smarty", [
|
||||
["delimiter", "{"],
|
||||
["function", "if"],
|
||||
["function", "count"],
|
||||
["punctuation", "("],
|
||||
["variable", "$foo"],
|
||||
["punctuation", ")"],
|
||||
["delimiter", "}"]
|
||||
]],
|
||||
["smarty", [
|
||||
["delimiter", "{"],
|
||||
["variable", "$foo"],
|
||||
["operator", "|"],
|
||||
["function", "@count"],
|
||||
["delimiter", "}"]
|
||||
]],
|
||||
["smarty", [
|
||||
["delimiter", "{"],
|
||||
["variable", "$bar"],
|
||||
["operator", "|"],
|
||||
["function", "lower"],
|
||||
["delimiter", "}"]
|
||||
]],
|
||||
["smarty", [
|
||||
["delimiter", "{"],
|
||||
["function", "/if"],
|
||||
["delimiter", "}"]
|
||||
]]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for tags, filters and functions.
|
Loading…
Add table
Add a link
Reference in a new issue