Skip to content

Commit

Permalink
re-org samples
Browse files Browse the repository at this point in the history
  • Loading branch information
marty-wang committed Nov 4, 2011
1 parent 4c715f1 commit de6f7a4
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion samples/ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<title>Ajax Test</title>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<p>Open this page locally or run through other web server. You will see that the cross-domain ajax calls will work. This will be very handy for local development, because you will not need to change anything in your code, and it will just work as if they were same-domain ajax calls.</p>
Expand Down
File renamed without changes.
File renamed without changes
14 changes: 14 additions & 0 deletions samples/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Homepage</title>
</head>
<body>
<h1>This is the index.html.</h1>
<ul>
<li><a href="ajax.html">Cross-Domain Ajax</a></li>
<li><a href="readme.html">Readme</a></li>
</ul>
<img src="images/nodejs_800k.png" alt="">
</body>
</html>
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions samples/readme.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<link rel="stylesheet" href="markdown.css">
<script type="text/javascript" src="readme.js"></script>
<link rel="stylesheet" href="css/markdown.css">
<script type="text/javascript" src="js/readme.js"></script>

<p>NServe is a nodejs-powered static file server that is created to facilitate local software development. It is not designed for production use. </p>

Expand Down

0 comments on commit de6f7a4

Please sign in to comment.