Skip to content

Commit

Permalink
stylus
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 18, 2011
1 parent 002fd10 commit b5fe34c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
node_modules
*.css
2 changes: 2 additions & 0 deletions app.js
Expand Up @@ -4,6 +4,7 @@
*/

var express = require('express')
, stylus = require('stylus')
, redis = require('redis')
, http = require('http');

Expand All @@ -21,6 +22,7 @@ app.configure(function(){
app.set('root', __dirname);
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(stylus.middleware({ src: __dirname + '/public' }));
app.use(express.static(__dirname + '/public'));
app.use(app.router);
});
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -8,5 +8,6 @@
, "palette": "*"
, "redis": "0.7.x"
, "canvas": "0.8.x"
, "stylus": "0.21.x"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion views/layout.jade
Expand Up @@ -2,7 +2,7 @@
html
head
title Screenshots
link(rel='stylesheet', href='/stylesheets/style.css')
link(rel='stylesheet', href='/stylesheets/main.css')
body
block content
script(src='/javascripts/vendor/whiskers.js')
Expand Down

0 comments on commit b5fe34c

Please sign in to comment.