/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/markup!+javascript/javascript_inclusion.test
60 строк
983 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<script type="text/javascript">foo()</script> <script> "foo bar" </script> ---------------------------------------------------- [ ["tag", [ ["tag", [ ["punctuation", "<"], "script" ]], ["attr-name", [ "type" ]], ["attr-value", [ ["punctuation", "="], ["punctuation", "\""], "text/javascript", ["punctuation", "\""] ]], ["punctuation", ">"] ]], ["script", [ ["function", "foo"], ["punctuation", "("], ["punctuation", ")"] ]], ["tag", [ ["tag", [ ["punctuation", "</"], "script" ]], ["punctuation", ">"] ]], ["tag", [ ["tag", [ ["punctuation", "<"], "script" ]], ["punctuation", ">"] ]], ["script", [ ["string", "\"foo bar\""] ]], ["tag", [ ["tag", [ ["punctuation", "</"], "script" ]], ["punctuation", ">"] ]] ] ---------------------------------------------------- Checks for Javascript usage inside Markup, using <script> tags.