Permalink
Browse files

added ruby example

  • Loading branch information...
1 parent b7adef4 commit f6e94ccddf85e8984a67ad428febb8af2c3dd7ff unknown committed Jul 5, 2011
Showing with 11 additions and 1 deletion.
  1. +11 −1 engines/erp_app/public/javascripts/erp_app/syntaxhighlighter/index.html
@@ -5,6 +5,7 @@
<title>Hello SyntaxHighlighter</title>
<script type="text/javascript" src="scripts/shCore.js"></script>
<script type="text/javascript" src="scripts/shBrushJScript.js"></script>
+ <script type="text/javascript" src="scripts/shBrushRuby.js"></script>
<link type="text/css" rel="stylesheet" href="styles/shCoreDefault.css"/>
<script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
@@ -15,7 +16,16 @@
<pre class="brush: js;">
function helloSyntaxHighlighter()
{
- return "Compass Says Hi!";
+ return "Compass UI Says Hi!";
+}
+</pre>
+
+
+<h1>Hello SyntaxHighlighter</h1>
+<pre class="brush: ruby;">
+def helloRuby
+{
+ return "Compass Framework says Hi";
}
</pre>

0 comments on commit f6e94cc

Please sign in to comment.