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.
-
Shifter: blazingly fast yui builder
- YUI-rails: No-hassle integration of YUI with the Rails 3.1 asset pipeline.
- A bunch of helpers
Shifter is DIY, but at least you can stop using Ant for concat.