Jonas mg
Jonas mg
Hoisie thanks for add it so fast. But I get: line 7: unmatched close tag http://github.com/kless/goweb-identity/blob/2197ffa784e0ec356ac57486bd446f6c1bf5f99e/identity/tmpl/register.html Note that 'use-email' has 'true' as value: http://github.com/kless/goweb-identity/blob/2197ffa784e0ec356ac57486bd446f6c1bf5f99e/identity/view.go#L25
Sorry! The problem was because I re-compiled Go and goinstalled mustache but I didn't update it, so I could not use the inverted section. Anyway, with the last change in...
I'm testing it and the code inner of the inverted section is always rendered, when I've passed a key to "false", "" (empty), and without the key. "While sections can...
It's awesome if it can be simulated. Since the implementation of the JS library is done in Go (https://github.com/kless/go2js/blob/master/jslib/lib.go) I'll try do it on it, with your help and knowledge...
Ok, I only could test it in both Firefox and Chromium.
What do you mean about "to emit raw JS code from .go"? go2js translates Go (almost all specification, by now) to JS
Personally, I would prefer to avoid such tool because so people could create libraries in Go for JS, instead of to use actual JS libraries. But well, if it's built...
Could you add an example with an anon. function where it fails?
It is due to shadowing variables in JS. That is on my ToDo list
Thanks, I'll check it. Another thing, is that the translation of a slice of pointers could not be right. But since it's a delicated thing, I want to check it...