Skip to content
This repository
Browse code

[examples/browser] Added example from docs - but with build 1.0.7 thi…

…s does not work
  • Loading branch information...
commit ef3b3bfdc3e903bbe42f4feac3ad22383230dd34 1 parent 171ac18
authored January 06, 2012

Showing 1 changed file with 19 additions and 0 deletions. Show diff stats Hide diff stats

  1. 19  examples/browser/index.html
19  examples/browser/index.html
... ...
@@ -0,0 +1,19 @@
  1
+<!doctype html>
  2
+<html>
  3
+  <head>
  4
+    <meta charset="utf-8">
  5
+    <title>Director browser example</title>
  6
+    <meta name="description" content="Director browser example">
  7
+    <meta name="author" content="Nodejitsu Inc.">
  8
+    <script src="../../build/director-1.0.7.js"></script>
  9
+    <script>
  10
+      var router = new Router().init();
  11
+      router.on('/example/:nr', function (e) {
  12
+        console.log(e);
  13
+      });
  14
+    </script>
  15
+  </head>
  16
+  <body>
  17
+
  18
+  </body>
  19
+</html>

0 notes on commit ef3b3bf

Please sign in to comment.
Something went wrong with that request. Please try again.