jade undefined variable
Problem
Here is an example jade input:
The class variable is undefined
input.class(name="class", type="textfield", value="#{locals.class}")
This shows up as a fo… Read More
Socket.io session variable
Problem
I am fairly new to node.js and express and I am trying to build a fairly simple application through phone gap which allows me to have a user login, and sa… Read More
Undefined in front and at the end when passing a link inside a variable on Jade and Node.js
Problem
I am using express and Jade. When i pass variable that contains a link i get undefined in… Read More
Jade: Serving route-specific resources
Problem
In my ./inc/footer.jade I have a bunch of script tags. I would like to serve additional script only in one specific route. How to accomplish t… Read More
Expressjs: Rendering views depending on application state
Problem
I'm creating express app and my app accomodates two states- logged in user and anonymous user. My app doesn't require user… Read More
Can't store result in session from async waterfall
Problem
I have a series of methods I run using async.waterfall which then return a result. I store that result into a request.session vari… Read More
Session flash messages only showing after a separate refresh and not on POST in express
Problem
Started with Express a couple weeks ago and finally hit my first roadblock. I'm trying to fig… Read More
Can't get custom user from everyauth
Problem
I did read manuals about access to current user via everyauth. It's say, that I can read current user info from: req.user on my server, everyaut… Read More