I tried the following test case:
<html>
<head>
</head>
<body>
<input type='text' id='x' value='10'>
{! $B ('x') !}
<input type='text' value={! $B ('x') !}>
{! $B ('x') !}
</body>
</html>
After compilation, only the first {! !} works as expected, the rest stay blank.
It works after replacing compilerInsertValueB with insertValueB in the compiled
code. Is it a bug in flapjax or I'm doing something wrong here?
ivan
Thanks for catching that. It is a bug in compilerInsertValueB. I've updated the compiler on Github with a bugfix. Your code now works as intended. I'll update the released Flapjax later.
(Sorry for the delay getting back. I was out of the country.)
Arjun
> --
> Flapjax home page: www.flapjax-lang.org
> Flapjax list: groups.google.com/group/flapjax
> Post: fla...@googlegroups.com
> Unsubscribe: flapjax-u...@googlegroups.com