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

Question #86

Open
caztial opened this issue Apr 12, 2014 · 1 comment
Open

Question #86

caztial opened this issue Apr 12, 2014 · 1 comment

Comments

@caztial
Copy link

caztial commented Apr 12, 2014

var test="Lorem Ipsum";
include_once(app_path+'views/'+view_name+'.jag');

how to access the test variable from the jag file I included. it it possible ?

@splinter
Copy link
Contributor

Hi Manoj,

You should be able to access it from the included jag file as the {view_name}.jag is added to the scope of the first jag file ( I could be wrong on this point) .

Thanks,
Splinter

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