Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove haml-view example

  • Loading branch information...
commit 5c81721aa5c793cb8b59df1a2793747afaf244ab 1 parent 1948497
Nathan authored
13 examples/haml-view/app.js
... ... @@ -1,13 +0,0 @@
1   -var
2   - jsgi = require('jsgi'),
3   - bogart = require('../../lib/bogart')
4   -
5   -var app = bogart.app(function(show) {
6   - var viewEngine = bogart.viewEngine("haml");
7   -
8   - show('/', function(req) {
9   - return viewEngine.respond('index.haml', { layout: false });
10   - });
11   -});
12   -
13   -jsgi.start(app)
13 examples/haml-view/package.json
... ... @@ -1,13 +0,0 @@
1   -{
2   - "name": "haml-example",
3   - "version": "1.0.0",
4   - "author": "Nathan Stott",
5   - "email": "nathan.stott@whiteboard-it.com",
6   - "main": "./app.js",
7   - "directories": { "lib": "./lib" },
8   - "dependencies": {
9   - "promised-io": "v0.2.1",
10   - "jsgi": "v0.2.2",
11   - "mustache": "0.3.1-dev"
12   - }
13   -}
2  examples/haml-view/views/index.haml
... ... @@ -1,2 +0,0 @@
1   -%h1 Hello World
2   -%p This template is written using HAML

0 comments on commit 5c81721

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