Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: lib/src/prism/tests/languages/markup!+javascript/javascript_inclusion.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <script type="text/javascript">foo()</script>
2 <script>
3 "foo bar"
4 </script>
5
6 ----------------------------------------------------
7
8 [
9
10 ["tag", [
11 ["tag", [
12 ["punctuation", "<"],
13 "script"
14 ]],
15 ["attr-name", [
16 "type"
17 ]],
18 ["attr-value", [
19 ["punctuation", "="],
20 ["punctuation", "\""],
21 "text/javascript",
22 ["punctuation", "\""]
23 ]],
24 ["punctuation", ">"]
25 ]],
26 ["script", [
27 ["function", "foo"],
28 ["punctuation", "("],
29 ["punctuation", ")"]
30 ]],
31 ["tag", [
32 ["tag", [
33 ["punctuation", "</"],
34 "script"
35 ]],
36 ["punctuation", ">"]
37 ]],
38
39 ["tag", [
40 ["tag", [
41 ["punctuation", "<"],
42 "script"
43 ]],
44 ["punctuation", ">"]
45 ]],
46 ["script", [
47 ["string", "\"foo bar\""]
48 ]],
49 ["tag", [
50 ["tag", [
51 ["punctuation", "</"],
52 "script"
53 ]],
54 ["punctuation", ">"]
55 ]]
56 ]
57
58 ----------------------------------------------------
59
60 Checks for Javascript usage inside Markup, using <script> tags.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698