mardi 7 mars 2017

Jade4J for loop unable to evaluate

I can't seem to find an answer to this anywhere, the github for it is not being updated, and I'm about to throw my computer out the window.

I am trying to create a website via java, and am using Jade4J implentation to use Jade.

This is my simple jade file: (indents aren't appearning, they are there)

html
title Whatup
-for(var i = 0; i < 3; i++)
    h4 Haithere

And all I'm getting is this error:

unable to evaluate [for(var i = 0; i < 3; i++)] - Parsing de.neuland.jade4j.expression.JexlExpressionHandler.evaluateExpression@1:11 parsing error near '... r i = 0; i ...' in test.jade:3

This works just fine in Node or any other implementation of Jade...

Any ideas... please




Aucun commentaire:

Enregistrer un commentaire