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

Side by Side Diff: lib/src/prism/tests/languages/jade/mixin_feature.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 mixin foo
2 mixin pet(name)
3
4 +foo
5 +pet('cat')
6
7 ----------------------------------------------------
8
9 [
10 ["mixin", [
11 ["keyword", "mixin"],
12 ["function", "foo"]
13 ]],
14 ["mixin", [
15 ["keyword", "mixin"],
16 ["function", "pet"],
17 ["punctuation", "("],
18 "name",
19 ["punctuation", ")"]
20 ]],
21
22 ["mixin", [
23 ["name", "+foo"]
24 ]],
25 ["mixin", [
26 ["name", "+pet"],
27 ["punctuation", "("],
28 ["string", "'cat'"],
29 ["punctuation", ")"]
30 ]]
31 ]
32
33 ----------------------------------------------------
34
35 Checks for mixins declaration and usage.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698