Permalink
Browse files

links & demo page

  • Loading branch information...
1 parent 419056c commit bf77300b135b3740d599871fce4177e2c4218a70 @ducin ducin committed Feb 21, 2016
Showing with 26 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +6 −0 README.md
  3. +2 −0 advanced/index.html
  4. +14 −0 index.html
  5. +2 −0 simple/index.html
View
@@ -0,0 +1,2 @@
+.idea/
+
View
@@ -0,0 +1,6 @@
+# sinon-backend-less-demo
+
+Example usage of sinon.js fake server.
+
+See [online demo](http://ducin.github.io/sinon-backend-less-demo/).
+
View
@@ -2,13 +2,15 @@
<html>
<head>
<meta charset="utf-8">
+ <meta name="author" content="Tomasz Ducin">
<title>Sinon.js fakeServer demo</title>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/sinon.js/1.7.3/sinon-min.js"></script>
<script src="sinon-fake-server.js"></script>
<script src="ui.js"></script>
</head>
<body>
+ <p>Open your JavaScript console!</p>
<label for="fsOn">use sinon.js fakeServer</label>
<input type="checkbox" id="fsOn" />
<br />
View
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta name="author" content="Tomasz Ducin">
+ <title>Sinon.js fakeServer demo</title>
+</head>
+<body>
+<ul>
+ <li><a href="simple/">simple</a></li>
+ <li><a href="advanced/">advanced</a></li>
+</ul>
+</body>
+</html>
View
@@ -2,12 +2,14 @@
<html>
<head>
<meta charset="utf-8">
+ <meta name="author" content="Tomasz Ducin">
<title>Sinon.js fakeServer demo</title>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/sinon.js/1.7.3/sinon-min.js"></script>
<script src="sinon-fake-server.js"></script>
</head>
<body>
+ <p>Open your JavaScript console!</p>
<label for="fsOn">use sinon.js fakeServer</label>
<input type="checkbox" id="fsOn" />
<br />

0 comments on commit bf77300

Please sign in to comment.