change jade references to pug
This commit is contained in:
parent
a7b4bd023d
commit
cbae390312
10 changed files with 19 additions and 7 deletions
12
TODO
12
TODO
|
@ -0,0 +1,12 @@
|
|||
Implement better mount system differentiating bays and hardpoints.
|
||||
|
||||
Add GUI.
|
||||
|
||||
Improve spawning system.
|
||||
|
||||
Add structures.
|
||||
Add Wingbases.
|
||||
Add spawning from Wingbases.
|
||||
Add automated turrets.
|
||||
|
||||
Add ammo.
|
|
@ -20,9 +20,9 @@
|
|||
"commander": "^2.9.0",
|
||||
"escape-html": "^1.0.3",
|
||||
"express": "^4.13.4",
|
||||
"jade": "^1.11.0",
|
||||
"nib": "^1.1.0",
|
||||
"poly-decomp": "git://github.com/schteppe/poly-decomp.js.git",
|
||||
"pug": "^2.0.0-beta3",
|
||||
"recursive-readdir": "^1.3.0",
|
||||
"socket.io": "^1.4.5",
|
||||
"socket.io-client": "^1.4.5",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
extends ../layout.jade
|
||||
extends ../layout.pug
|
||||
|
||||
block head
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
extends layout.jade
|
||||
extends layout.pug
|
||||
|
||||
block head
|
||||
title
|
||||
|
@ -15,4 +15,4 @@ block body
|
|||
canvas#wingbase_canvas
|
||||
| Sorry, your browser does not currently support HTML5 Canvas.
|
||||
#gui
|
||||
include gui/gui.jade
|
||||
include gui/gui.pug
|
|
@ -1 +0,0 @@
|
|||
include game.jade
|
1
public/views/index.pug
Normal file
1
public/views/index.pug
Normal file
|
@ -0,0 +1 @@
|
|||
include game.pug
|
|
@ -19,8 +19,8 @@ class WebServer {
|
|||
let app = this.app;
|
||||
|
||||
app.set('views', 'public/views');
|
||||
app.set('view engine', 'jade');
|
||||
app.engine('jade', require('jade').__express);
|
||||
app.set('view engine', 'pug');
|
||||
app.engine('pug', require('pug').__express);
|
||||
|
||||
app.use(stylus.middleware({
|
||||
src: 'public/stylus',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue