Incorporation of YUI 3 in rails

Posted by lorefnon on Stack Overflow See other posts from Stack Overflow or by lorefnon
Published on 2012-02-21T07:34:06Z Indexed on 2012/12/04 23:04 UTC
Read the original article Hit count: 191

I was wondering if any effort has been made towards integration of YUI3 with rails asset pipeline.

By integration, I don't just mean a couple of helpers for including the library but rather a complete integration of YUI module loader.

I'll elaborate the idea in detail:

  • Currently, developers developing modules using YUI rely on Ant tasks for concatenating the module components and wrapping them up with some associated metadata and generating target files ( and optionally minifying and running jslint).
  • Also, when fetching the modules, the YUI loader calculates the module dependencies and generates a single file comprising of all the dependencies which havent been included already in the page. I was wondering if the whole functionality could be seamlessly integrated into the Asset pipeline of rails.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about ruby-on-rails