/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/markup+javascript+csharp+aspnet/script_feature.test
57 строк
1 KB
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<script runat="server">#pragma</script> <script>/foo/</script> ---------------------------------------------------- [ ["tag", [ ["tag", [ ["punctuation", "<"], "script" ]], ["attr-name", [ "runat" ]], ["attr-value", [ ["punctuation", "="], ["punctuation", "\""], "server", ["punctuation", "\""] ]], ["punctuation", ">"] ]], ["asp script", [ ["preprocessor", ["#", ["directive", "pragma"]]] ]], ["tag", [ ["tag", [ ["punctuation", "</"], "script" ]], ["punctuation", ">"] ]], ["tag", [ ["tag", [ ["punctuation", "<"], "script" ]], ["punctuation", ">"] ]], ["script", [ ["regex", "/foo/"] ]], ["tag", [ ["tag", [ ["punctuation", "</"], "script" ]], ["punctuation", ">"] ]] ] ---------------------------------------------------- Checks for scripts containing C# code. Also checks that those don't break normal JS scripts. Note: Markup is loaded before Javascript so that scripts are added into grammar.