rightjs

How to check if cards in hand match cards on table?

There are 8 cards on the table, with four faces visible and four hidden. Click on a card to turn it and if there's a pip-match or suit-match, show sparks around the associated cards. Problem is, I'm either doing something wrong logic-wise, or .concat() is not working. Because some sparks show and some do not. The whole game could proba...

Is RightJs (right-rails) ready for rails3

Hello, I'm wondering if right-rails(rightjs) is ready for rails3? I'didn't found any replacement for the default public/javascripts/rails.js Thanks ...

Switching from JQuery to RightJS

I am currently using JQuery and recently heard about RightJS. RightJS seems to be faster, lighter & more object oriented. But I was wondering if RichJS has somethings seriously missing compared to JQuery (Other than the huge plugin base). Update: I tried RightJS in a small web project & decided to use it on a few more projects. But I ...

Asynchronous Unit Tests in Ruby

I'm testing some javascript libraries I've built by using ruby's harmony. Everything is working perfectly except AJAX calls — does anyone have any ideas how to achieve this? My code looks something like this (I'm using RightJS): my.js function makerequest(argument) { new Xhr('http://mysite.com/some/jsonp'),{ jsonp: true, ...

RightJS javascript library in daily use.

Wondering if anyone here can offer any insight into the ups/downs of using the RightJS library, specifically as compared to jQuery, and generally compared to what you think a library ought to offer. I'm not so much looking for a feature to feature comparison, but rather a sense of the general daily use. Things like: Does it feel nat...