Questions tagged [jaml]

Jaml is a JavaScript template engine used to render HTML using JavaScript

References

5 questions
14
votes
2 answers

Javascript Template Engines that work with Chrome's Content Security Policy

The Chrome API's Manifest version 2 has removed the ability to do unsafe-eval. This means using the eval function or in general dynamically creating a function from text. It seems like most if not all Javascript Templating Engines do this. I was…
4
votes
1 answer

Instance Eval in Javascript around browsers

From Coffeekup and JAML's source, (while working on question), we can see a way to hack ruby's instance eval into Javascript (JAML author explains more). It involves decompiling the function, and evaluating it around a with block. The question is:…
Daniel Ribeiro
  • 3,110
  • 3
  • 23
  • 49
3
votes
1 answer

Saltstack load pillar in a for loop

I am developing a automatic proftd installation whit Salt, i wont to get the ftp users from a template but I cant get work the pillar, i initialized the pillar whit the users data and call it into a for loop, but you don't get the pillar user data…
feb992
  • 43
  • 1
  • 1
  • 6
0
votes
1 answer

Javascript bind "this" to event

Below is an error I am getting from binding "this" to a click event in javascript. The format of the js is Jaml/Mooml and may be unfamiliar to some but I assure you the syntax is proper. I have been binding "this" to many events in the same way and…
a11hard
  • 1,904
  • 4
  • 19
  • 41
0
votes
2 answers

Coffescript, Jaml like template engine

I'm just experimenting the various javascript template engines (client-side) for my backbone views... And i found this old project: https://github.com/edspencer/jaml It seems good to me, because i dont have to use of long string blocks like other…
cl0udw4lk3r
  • 2,663
  • 5
  • 26
  • 46