Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 69ee90e1b7
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (17 sloc) 0.596 kb
pre(class="brush: js")
| var slides = [];
| function Slide() {
| slides.push("Creating a presentation ...",
| "Goal","Requirements","Technology");
| }
| Slide.prototype.index = function(req,res) {
| renderSlide(req,res,req.params.id);
| };
| function renderSlide(req,res,numSlide) {
| res.render('slide/num'+numSlide, {locals: {
| numSlide:req.params.id,
| totalSlide:slides.length,
| titleSlide:slides[numSlide-1]}});
| }
script(type="text/JavaScript")
| SyntaxHighlighter.all()
Jump to Line
Something went wrong with that request. Please try again.