Skip to content
Fossil Changes To shjs
Login

Changes To shjs

Changes to "shjs" between 2011-05-12 23:34:55 and 2014-11-26 15:39:13

︙
182
183
184
185
186
187
188












182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200







+
+
+
+
+
+
+
+
+
+
+
+
  #    }
  #    if(t.length){
<p>Only if we have a type we are going to try highlighting</p>
  #  &nbsp;&nbsp;&nbsp;&nbsp;$("blockquote pre").addClass("sh_"+t);
  #  &nbsp;&nbsp;&nbsp;&nbsp;sh_highlightDocument(shbase+'/lang/','.js');
  #  &nbsp;&nbsp;}
  #  }


<hr><div id="48cb630e8aa325fb"><i>On 2014-11-26 15:39:13 UTC anonymous (claiming to be Johan Kuuse) added:</i><br />
Hi,

I had to modify the following line in syn.js to make it work:

<pre>// var file = $("blockquote p a:first-child").text();
var file = $("div ul li a:first-child").html();</pre>

BR,
Johan</div id="48cb630e8aa325fb">