compilerInsertValueB bug?

0 views
Skip to first unread message

ivan

unread,
Dec 26, 2009, 5:12:30 AM12/26/09
to fla...@googlegroups.com
Hi

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

Arjun Guha

unread,
Jan 15, 2010, 11:36:08 AM1/15/10
to fla...@googlegroups.com, ivan
Hi 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

Reply all
Reply to author
Forward
0 new messages