Permalink
Browse files

remove haml-view example

  • Loading branch information...
1 parent 1948497 commit 5c81721aa5c793cb8b59df1a2793747afaf244ab @nrstott committed Dec 2, 2012
Showing with 0 additions and 28 deletions.
  1. +0 −13 examples/haml-view/app.js
  2. +0 −13 examples/haml-view/package.json
  3. +0 −2 examples/haml-view/views/index.haml
View
13 examples/haml-view/app.js
@@ -1,13 +0,0 @@
-var
- jsgi = require('jsgi'),
- bogart = require('../../lib/bogart')
-
-var app = bogart.app(function(show) {
- var viewEngine = bogart.viewEngine("haml");
-
- show('/', function(req) {
- return viewEngine.respond('index.haml', { layout: false });
- });
-});
-
-jsgi.start(app)
View
13 examples/haml-view/package.json
@@ -1,13 +0,0 @@
-{
- "name": "haml-example",
- "version": "1.0.0",
- "author": "Nathan Stott",
- "email": "nathan.stott@whiteboard-it.com",
- "main": "./app.js",
- "directories": { "lib": "./lib" },
- "dependencies": {
- "promised-io": "v0.2.1",
- "jsgi": "v0.2.2",
- "mustache": "0.3.1-dev"
- }
-}
View
2 examples/haml-view/views/index.haml
@@ -1,2 +0,0 @@
-%h1 Hello World
-%p This template is written using HAML

0 comments on commit 5c81721

Please sign in to comment.