Questions tagged as 'handlebars.js'

2
answers

Conflict between Jinja and Handlebars

How do I resolve a conflict between Handlebars and Jinja, since the syntax of both are similar?     
asked by 26.11.2015 / 20:07
1
answer

Alternative php include for handlebars.js in the construction of templates

I'm making a new website, I'm with the template ready and I want to implement handlebars.js, To control the template I have always used: <php include "header.php"; ?> <php include "footer.php"; ?> and so on. I want to impr...
asked by 22.09.2014 / 04:06
1
answer

Benefit of using template engine

I'm creating cells for tables getting information from an api using append, I wonder if there would be any benefit in using some template engine like Handlebars.js instead of using append? code: function ajaxRank(){ var $orders = $('#orde...
asked by 25.03.2016 / 00:40
0
answers

Handlebar not working in Firefox

I'm trying to use template to create cells in a table but the code only works in google chrome, does anyone know why? index.html <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" c...
asked by 24.03.2016 / 02:48
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
1
answer

Handlebars compile function with parameter parameters

I want to minify my template during the compile period of it in NodeJS Searching on I found that handlebars.compile(templateLoaded); has more options besides the template parameter. I would like to know how to pass the minify parameter...
asked by 22.07.2014 / 05:15
1
answer

X-FRAME-OPTIONS TO DENY

I'm needing a targeting. I am developing an application where on one of the screen users are allowed to view a specific report of the page, to avoid that when clicking on the option to generate the report it was redirected to the report, I creat...
asked by 26.12.2018 / 13:45
0
answers

Callback Handlebars

Good morning guys, all bzl? I render a grid with Handlebars, after that, I need to adjust the height of the cards and activate another jquery plugin for a select options that is rendered by Handlebars. When I call the functions to adjust t...
asked by 23.10.2018 / 15:34
0
answers

Handlebars.js and Edge / IE 11/10

all blz? I have a project using handlebars.js and I was really enjoying the result until I saw the system working on EDGE and Internet Explorer. I have a screen that receives about 1000 (thousand) records in json: { data_criacao:"201...
asked by 27.08.2018 / 19:47
0
answers

Handlebars does not render

I have an api on Node and the front in vue. I need to generate some pdf files in the back but the handlebars does not render past information. Just the static html that is already there. const puppeteer = require('puppeteer'); const fs = requi...
asked by 30.07.2018 / 23:22