1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00
Commit Graph

287 Commits

Author SHA1 Message Date
Rob Rix
9e1ceccc77 Highlight for/in statements. 2015-11-03 15:30:34 -05:00
Rob Rix
e096881578 Rename rangeAndSyntaxToDOM. 2015-11-03 15:26:32 -05:00
Rob Rix
f5c21074c5 Don’t flatten terms. 2015-11-03 15:25:52 -05:00
Rob Rix
ea96c3d580 Highlight within patches. 2015-11-03 15:16:43 -05:00
Rob Rix
5e6c94fd75 Pass the whole annotation into rangeAndSyntaxToDOM. 2015-11-03 15:16:36 -05:00
Rob Rix
dbeb9073a3 Highlight function names. 2015-11-03 15:13:39 -05:00
Rob Rix
f38da39f86 Highlight regexps. 2015-11-03 15:12:44 -05:00
Rob Rix
94c6297026 Highlight type names. 2015-11-03 15:09:55 -05:00
Rob Rix
a33eec8c58 Highlight new. 2015-11-03 15:09:50 -05:00
Rob Rix
dbc59507e9 Highlight undefined. 2015-11-03 15:07:20 -05:00
Rob Rix
787cb679b1 Highlight null. 2015-11-03 15:07:17 -05:00
Rob Rix
1216c34d21 Highlight the operators en masse. 2015-11-03 15:06:58 -05:00
Rob Rix
fbf1704425 Highlight function calls. 2015-11-03 15:00:49 -05:00
Rob Rix
85e634dbd1 Highlight assignments. 2015-11-03 14:57:22 -05:00
Rob Rix
767aecd690 Highlight relational operators. 2015-11-03 14:56:52 -05:00
Rob Rix
50c7575ecd Highlight ternaries. 2015-11-03 14:55:51 -05:00
Rob Rix
440a7326fb Highlight true and false. 2015-11-03 14:54:28 -05:00
Rob Rix
e1a4a97c46 Highlight keys in objects. 2015-11-03 14:51:41 -05:00
Rob Rix
f006b7f95c Only match the assigned-to property with this rule. 2015-11-03 14:49:45 -05:00
Rob Rix
684a6f24ae Match member assignment a little more carefully. 2015-11-03 14:48:30 -05:00
Rob Rix
eca1b0e2b2 Match member access a little more carefully. 2015-11-03 14:48:22 -05:00
Rob Rix
9b78911a04 Highlight a bunch of operators and statements. 2015-11-03 14:40:37 -05:00
Rob Rix
fbeee38bd4 Highlight comments. 2015-11-03 14:35:19 -05:00
Rob Rix
4deba67404 Highlight member accesses. 2015-11-03 14:35:12 -05:00
Rob Rix
ad9e9f7a1d Don’t inherit syntax highlighting by default. 2015-11-03 14:31:36 -05:00
Rob Rix
0c9698c75d Prefix the highlighting selectors with .diff. 2015-11-03 14:31:22 -05:00
Rob Rix
2081b7447f Highlight numbers. 2015-11-03 14:12:45 -05:00
Rob Rix
2d18d653c8 Highlight strings. 2015-11-03 14:12:41 -05:00
Rob Rix
880d51ffd8 Add CSS classes for the various categories. 2015-11-03 14:08:32 -05:00
Rob Rix
547ab8d3d2 Unpack the ranges. 2015-11-03 14:03:55 -05:00
Rob Rix
4ff4f570bd We no longer use termToDOM. 2015-11-03 13:59:57 -05:00
Rob Rix
4a31774d98 Extract the correct ranges. 2015-11-03 13:58:59 -05:00
Rob Rix
edcb850f93 Extract range & categories. 2015-11-03 13:20:01 -05:00
Rob Rix
9be365ce30 Indentation. 2015-11-03 13:12:35 -05:00
Rob Rix
5d15e3c88d dom.js is gone. 2015-11-03 13:11:50 -05:00
Rob Rix
efc90df9ee I guess this was deleted. 2015-11-03 13:09:01 -05:00
Josh Vera
b8ceaa445e s/prevous/previous 2015-11-03 13:04:48 -05:00
joshvera
9f2d594cc9 🔥 logs 2015-11-03 12:41:08 -05:00
joshvera
92feb67ae8 delete obselete code 2015-11-03 11:47:16 -05:00
joshvera
86e1e8ae8b hide the empty nodes 2015-11-03 10:48:01 -05:00
joshvera
78ba276948 append index beforehand 2015-11-03 10:45:32 -05:00
joshvera
b19e995ae2 fix some commas 2015-11-02 17:03:59 -05:00
joshvera
306badf972 Compare both elements if neither are invisible 2015-11-02 16:27:14 -05:00
joshvera
c3a2e50baf beginningOfNextElement should be a non-invisible element 2015-11-02 15:56:12 -05:00
joshvera
7331e387ff insert separators before invisible elements 2015-11-02 15:39:04 -05:00
joshvera
e722325749 render diffs again! 2015-10-29 18:24:29 -04:00
joshvera
7073a35a04 Render pure values 2015-10-29 16:27:41 -04:00
joshvera
c091289cf4 Construct both diffs at the same time 2015-10-29 15:11:18 -04:00
Rob Rix
3bb61d1cc1 Ignore all JSON files in the UI folder. 2015-10-27 18:59:03 -04:00
Rob Rix
c129fbcdcd Load the JSON from the queried path or diff.json. 2015-10-27 18:57:08 -04:00