We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
&& statements not working properly. PugGlobals are used.
if entryopen and !submitted button
but nested
if entryopen if submitted == false button
works.
The text was updated successfully, but these errors were encountered:
Hi,
For the moment, you have to call the variables with the PHP dollar in such conditions:
if $entryopen and !$submitted button
Sorry, something went wrong.
Hi, if entryopen and !submitted is not possible because it's neither valid PHP nor valid JS, but you can now (by upgrading to the last version) use:
if entryopen and !submitted
$pug = new Pug(array('expressionLanguage' => 'js'));
with:
if entryopen && !submitted button
Or:
$pug = new Pug(array('expressionLanguage' => 'php'));
PS: && is also available in PHP mode.
&&
No branches or pull requests
&& statements not working properly. PugGlobals are used.
but nested
works.
The text was updated successfully, but these errors were encountered: