Added linked list implementation
This commit is contained in:
7
controllers/list/index.js
Normal file
7
controllers/list/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports.index = function(req, res) {
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
|
||||
res.render('index.jade', res.locals, function(err, out) {
|
||||
res.send(out);
|
||||
});
|
||||
}
|
||||
3
controllers/list/urls.js
Normal file
3
controllers/list/urls.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/list': 'index'
|
||||
}
|
||||
11
controllers/list/views/index.jade
Normal file
11
controllers/list/views/index.jade
Normal file
@@ -0,0 +1,11 @@
|
||||
extends ../../../views/main
|
||||
|
||||
block title
|
||||
title #{title} - Test
|
||||
|
||||
block extrajs
|
||||
script(src='/static/js/List.min.js')
|
||||
script(src='/static/js/ListTest.min.js')
|
||||
|
||||
block content
|
||||
Hello
|
||||
Reference in New Issue
Block a user