File tree 2 files changed +1
-10
lines changed
2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,6 @@ function(hljs) {
25
25
hljs . C_BLOCK_COMMENT_MODE ,
26
26
hljs . APOS_STRING_MODE ,
27
27
hljs . QUOTE_STRING_MODE ,
28
- {
29
- /*
30
- Local workaround for a general problem.
31
- The begin regex constructed from `beginKeywords` has no way to ensure the absence of
32
- the dot before the identifier, so the word "class" in `obj.class()` triggers the whole
33
- class mode. Ugliness ensues.
34
- */
35
- begin : '\\.' + hljs . UNDERSCORE_IDENT_RE , relevance : 0
36
- } ,
37
28
{
38
29
beginKeywords : 'protected public private' , end : / [ { ; = ] / ,
39
30
keywords : KEYWORDS ,
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ <h2>Automatically detected languages</h2>
776
776
< pre > < code > function $initHighlight(block, flags) {
777
777
try {
778
778
if (block.className.search(/\bno\-highlight\b/) != -1)
779
- return processBlock(block, true, 0x0F) + ' class=""';
779
+ return processBlock(block.function , true, 0x0F) + ' class=""';
780
780
} catch (e) {
781
781
/* handle exception */
782
782
var e4x =
You can’t perform that action at this time.
0 commit comments