Skip to content

Commit

Permalink
Add 3 new samples to the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Mar 20, 2012
1 parent 2842762 commit 6c5509f
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jsil.org/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ <h2>Code Samples</h2>
<li><a href="samples/verbatim.html"><tt>Verbatim</tt> JavaScript</a></li>
<li><a href="samples/closures.html">Closures</a></li>
<li><a href="samples/multidimarrays.html">Multidimensional <tt>Array</tt>s</a></li>
<li><a href="samples/genericsandnested.html">Generics and Nested Types</a></li>
<li><a href="samples/goto.html">Goto</a></li>
<li><a href="samples/structcopyelimination.html">Struct Copy Elimination</a></li>
</ul>
<iframe id="codesample" allowtransparency="true" frameborder="0" sandbox="allow-same-origin allow-scripts" src="about:blank"></iframe>
</div>
Expand Down
17 changes: 17 additions & 0 deletions jsil.org/samples/genericsandnested.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Code Sample: Generics and Nested Types</title>
<link rel="stylesheet" href="sample.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
<script src="sample.js" type="text/javascript"></script>
</head>
<body onload="onLoad()">
<div id="csharp">
<script src="https://gist.github.com/2136144.js?file=GenericsAndNestedTypes.cs"></script>
</div>
<div id="javascript">
<script src="https://gist.github.com/2136144.js?file=GenericsAndNestedTypes.js"></script>
</div>
</body>
</html>
17 changes: 17 additions & 0 deletions jsil.org/samples/goto.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Code Sample: Goto</title>
<link rel="stylesheet" href="sample.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
<script src="sample.js" type="text/javascript"></script>
</head>
<body onload="onLoad()">
<div id="csharp">
<script src="https://gist.github.com/2136187.js?file=Goto.cs"></script>
</div>
<div id="javascript">
<script src="https://gist.github.com/2136187.js?file=Goto.js"></script>
</div>
</body>
</html>
17 changes: 17 additions & 0 deletions jsil.org/samples/structcopyelimination.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Code Sample: Struct Copy Elimination</title>
<link rel="stylesheet" href="sample.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
<script src="sample.js" type="text/javascript"></script>
</head>
<body onload="onLoad()">
<div id="csharp">
<script src="https://gist.github.com/2136227.js?file=StructCopyElimination.cs"></script>
</div>
<div id="javascript">
<script src="https://gist.github.com/2136227.js?file=StructCopyElimination.js"></script>
</div>
</body>
</html>

0 comments on commit 6c5509f

Please sign in to comment.