Questions tagged as 'mustache.js'

1
answer

What does this expression mean?

By studying Node-Red a bit I came across the following expression, {{#header.url} . Many expressions of the type are present in the code, for example: {{/header.url}} , {{#header.image}} , etc. Here is a snippet of code: &...
asked by 13.04.2017 / 21:25
1
answer

Trouble activating Vue.Js

See below the structure of my small project; <!DOCTYPEhtml><html><head><title>Mybooks</title><linkrel="stylesheet" type="text/css" href="node_modules/bootstrap/dist/css/bootstrap.css"> <link rel="st...
asked by 19.09.2017 / 18:01
1
answer

Ajax, HJS and Mustache

I do not like writing HTML in Ajax, like this ... var orderTemplate = "" + "<li data-id='{{_id}}'" + "<p><strong>Nome:</strong> <span class='noedit nome'>{{ nome }}</span>" + "<input class='edit nome'>...
asked by 17.05.2018 / 00:17
0
answers

Debug variables in mustache

People the mustache promises to work wonders but it is not being my case. Moodle is PHP but the themes now use mustache, but the code of the screens generated by such mustache are something like this: <nav class="list-group m-t-1"> {{/sh...
asked by 20.09.2017 / 22:26