Demos on Flapjax site broken?

111 views
Skip to first unread message

Omar Rizwan

unread,
Feb 8, 2013, 5:23:22 PM2/8/13
to fla...@googlegroups.com
Hi all,
I was playing with the Flapjax demos, and many of them are broken for me under the latest Firefox and Chrome:

http://www.flapjax-lang.org/demos/calc.html -- "ReferenceError: map is not defined"
http://www.flapjax-lang.org/try/index.html?edit=calc.html -- "TypeError: Object hideMsgs has no method 'addEventListener' -> Compile and Run links to "javascript:undefined" (this happens for all the 'try' pages)

http://www.flapjax-lang.org/demos/fisheye.html -- "TypeError: Object menu has no method 'addEventListener'"

Not familiar enough with Flapjax to quickly figure out what's going wrong, but any ideas?

Best,
Omar

Arjun Guha

unread,
Feb 10, 2013, 10:06:32 PM2/10/13
to Flapjax
Hi Omar,

Thanks for reporting. I'm taking a look to see what happened.



--
--
Flapjax home page: www.flapjax-lang.org
Flapjax list: groups.google.com/group/flapjax
Post: fla...@googlegroups.com
Unsubscribe: flapjax-u...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "Flapjax" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flapjax+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

corpora...@gmail.com

unread,
Mar 18, 2013, 1:09:43 PM3/18/13
to fla...@googlegroups.com
This is happening in Safari as well. 

Corporate Greed

unread,
Mar 18, 2013, 3:26:15 PM3/18/13
to fla...@googlegroups.com
 I found in the Discrete Streams example if I change

     var saveClickE = clicksE('saveButton');

to

      var saveClickE = clicksE(document.getElementById('saveButton'));

it seems to work as advertised.

Arjun Guha

unread,
Mar 18, 2013, 4:10:02 PM3/18/13
to Flapjax
You're right, thanks. That is the bug in all places. I believe I've
got them fixed.

Arjun
Message has been deleted

Arjun Guha

unread,
Mar 19, 2013, 11:44:54 AM3/19/13
to Flapjax
Corp.,

Yes, they are. But, I made a few additions to the source that I
haven't yet pushed. There was some strange connectivity issue on the
server I was hacking on. I'll push shortly.

Arjun

On Mon, Mar 18, 2013 at 6:20 PM, Corporate Greed
<corpora...@gmail.com> wrote:
> I made these changes in flapjax.js and it seems to work like insertValueE
> does, with either an element or an ID -- and so the examples work with no
> changes.
>
> var mouseE = function(elem) {
> return extractEventE(getObj(elem),'mousemove')
> .mapE(function(evt) {...
>
> var clicksE = function(elem) {
> return extractEventE(getObj(elem),'click');
> };
>
> By the way, are the most current sources those in the deployment branch?
>
> Thanks.

reiner...@vub.ac.be

unread,
Apr 10, 2013, 4:15:09 PM4/10/13
to fla...@googlegroups.com, ar...@cs.cornell.edu
Hi all,

I was also looking at the demos and noticed that some of them didn't work as I expected.
They do seem to work if I change <script type="text/javascript" src="/fx/flapjax.js"></script> to point to a flapjax.js on my server.
This is a flapjax.js file I downloaded today on http://www.flapjax-lang.org/
So I'm guessing that the file in /fx/ does not correspond to the one on the download page...

Greetings,
Reinert

Op dinsdag 19 maart 2013 16:44:54 UTC+1 schreef Arjun Guha het volgende:

Alexander Yuryev

unread,
Oct 22, 2013, 10:06:15 AM10/22/13
to fla...@googlegroups.com, ar...@cs.cornell.edu
Right now in fisheye demo we have:
      ....  extractEventE(document.getElementById('menu'), document.getElementById('mouseout')) ....
      But It works! How does it work, i think here must be String instead of Element?

четверг, 11 апреля 2013 г., 0:15:09 UTC+4 пользователь reiner...@vub.ac.be написал:
Reply all
Reply to author
Forward
0 new messages