epfrederick-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-08 20:46 UTC
derive.js - Ruby-esque derivation/mixins for Prototype
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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---