Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jade-bootstrap can't understand express return variables #23

Open
yongdi opened this issue Feb 13, 2017 · 2 comments
Open

jade-bootstrap can't understand express return variables #23

yongdi opened this issue Feb 13, 2017 · 2 comments

Comments

@yongdi
Copy link

yongdi commented Feb 13, 2017

+dropdown("select type",[
{text: "by month", url: 'javascript:change_chart(#{chart},'month')'},
{text: "by year", url: 'javascript:change_chart(#{chart},'year')'}
])

this is my snippet, i want to render the page with variables that server gives me. but not matter how, i couldn't make it.

@rajasegar
Copy link
Collaborator

@yongdi Do you have a sample repo so that i can look into the issue in detail.
and also it will help to nail down the root cause...

@yongdi
Copy link
Author

yongdi commented Feb 13, 2017

Archive.zip

according to our company's policy, I can't give all the project. 2 jade views affixed. the node server responses like:
res.render('data-table', { cols: cols, tableName: req.params.table, chart: req.params.table, show_date_search: show_date_search });

Till now, everything is ok, including table & charts, except this issue. thank you for helping me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants