Skip to content
Myr

fixed express(1) jade tmpl inheritance

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 65042c8 · Browse files · 1 file+8 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−4 removed

  • other:+8 added−4 removed

1 file+8 added−4 removed

modified:bin/express+8 added-4 removed
59 unmodified lines
60 , 'html'61 , ' head'62 , ' title= title'63 , ' link(rel=\'stylesheet\', href=\'/stylesheets/style.css\')'64 , ' body!= body'64 , ' body'65 , ' block content'66].join('\r\n');6768/**69 * Jade index template.70 */7172var jadeIndex = [73 'extends layout'74 , ''75 , 'block content'72 'h1= title'73 , 'p Welcome to #{title}'76 , ' h1= title'77 , ' p Welcome to #{title}'78].join('\r\n');7980/**81 * EJS layout template.
102 unmodified lines
184 , 'var express = require(\'express\')'185 , ' , routes = require(\'./routes\')'186 , ' , http = require(\'http\');'187 , ''184 , 'var app = module.exports = express();'188 , 'var app = express();'189 , ''190 , 'app.configure(function(){'191 , ' app.set(\'views\', __dirname + \'/views\');'192 , ' app.set(\'view engine\', \':TEMPLATE\');'
176 unmodified lines