Partials documentation improvements #994

Closed
wants to merge 4 commits into
from

Projects

None yet

2 participants

@MattiSG
MattiSG commented Feb 6, 2012

Hi there,

I and some friends had some trouble figuring out how the partials parameter passing happened. Now that I have it (hope so!) figured out, I tried to make the documentation clearer :)

Feel free to take as many or few commits as you wish, I tried to separate them into several levels of doc refactoring.

Greetings,
Matti

MattiSG added some commits Feb 6, 2012
@MattiSG MattiSG [doc] Made partials parameters naming system clearer.
Corrected res.partial() link's href.
d71fb06
@MattiSG MattiSG [doc] Improved partials doc with a note regarding naming conventions …
…and Express' specificities with it.

Rephrased the performance note regarding partials.
0c20102
@MattiSG MattiSG [doc] Renamed partials examples' varnames to avoid ambiguity regardin…
…g the name of the created local.

(It wasn't clear whether the name of the local var was inferred from the name of the partial or from the name of the passed variable.)
f5f85eb
@MattiSG MattiSG [doc] (missing a part)
Renamed partials examples' varnames to avoid ambiguity regarding the name of the created local.
(It wasn't clear whether the name of the local var was inferred from the name of the partial or from the name of the passed variable.)
b5e6460
@jonathanong
Member

sorry for the delay. the express docs have moved from the gh-pages branch to https://github.com/visionmedia/expressjs.com

@jonathanong jonathanong closed this Sep 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment