Fossil

Changes To Cookbook
Login

Changes To Cookbook

Changes to "Cookbook" between 2011-02-05 22:03:35 and 2011-02-05 22:06:08

516
517
518
519
520
521
522
523

524
525
526
527
528
529
530
516
517
518
519
520
521
522

523
524
525
526
527
528
529
530







-
+







<script language="javascript" src="$highlighterpath/scripts/shCore.js"></script>
<script language="javascript" src="$highlighterpath/scripts/shAutoloader.js"></script>
<script language="javascript">
function path()
{
  var args = arguments, result = [];       
  for(var i = 0; i < args.length; i++)
      result.push(args[i].replace('@', '$highlighterpath/scripts/'));       
      result.push(args&#91;i&#93;.replace('@', '$highlighterpath/scripts/'));       
  return result
};
// Do the highlighting only on artifact pages
if (document.getElementsByTagName("title")&#91;0&#93;.innerHTML.indexOf("Artifact") != -1)
{
    // try to find out the file type by looking at the file names extension
    var file = document.getElementsByTagName("blockquote")&#91;0&#93;.getElementsByTagName("a")&#91;0&#93;.innerHTML;
588
589
590
591
592
593
594
595
596


597
598
599
600
601
602
603
588
589
590
591
592
593
594


595
596
597
598
599
600
601
602
603







-
-
+
+







		'ruby rails ror rb      @shBrushRuby.js',
		'sass scss              @shBrushSass.js',
		'scala                  @shBrushScala.js',
		'sql                    @shBrushSql.js',
		'vb vbnet               @shBrushVb.js',
		'xml xhtml xslt html    @shBrushXml.js'
	));
	// and finally highlight it
	SyntaxHighlighter.all()
    // and finally highlight it
    SyntaxHighlighter.all()
}
&lt;/script&gt;
&lt;/body&gt;&lt;/html&gt;
</pre>
</p>
<h2><a name="win32dev">How to prepare your Windows XP Fossil development Environment</a></h2>
<h4>MinGW+NSIS/WiX</h4>