All,

I whipped up a small extension for Prototype to solve some modeling
issues I was having on a large JS project.

I know there have been serveral alternative "write JS in Ruby" type
efforts, including ruby.js, rb2js, and prototype.js itself, but I was
hoping to keep it as light as possible while gaining the most powerful
aspects of derivation/mixins/callbacks. Much like the prototype
library, I'd like it to have an air of Ruby without trying to twist a
language I actually like (JS) into something it's not.

It's cleaned up a lot of the project I was working on, but I'm sure
there may be some additional compact 'quick wins' that I've missed.

Thoughts? Suggestions?

Code:

http://www.bigbold.com/snippets/posts/show/3481

Discussion:

http://revolutiononrails.blogspot.com/2007/02/derivejs-010-prototypejs-extension-for.html

Cheers,

Eddie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to