| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
12年前发布

Barista - 在Rails和Rack简单、透明的使用CoffeeScript

Barista是一组工具,方便在Rails 3, Rails 2 和 Rack 应用中使用CoffeeScript。你可以把它想象成类似于Compass,但使用CoffeeScript代替Sass。Barista还能够实现:

  • Automatic support for a :coffeescript filter in Haml (when Haml is loaded before Barista) — automatically converting inline CoffeeScript to JavaScript for you.
  • Where possible, support for coffeescript_include_tag and coffeescript_tag.
  • When possible, instead of pre-compiling in development and test modes, Barista will embed CoffeeScript in the page for you.
  • Support for Heroku via therubyracer-heroku and either pre-compiled JS or, optionally, a lightweight Rack app that generates on request.

项目主页:http://www.open-open.com/lib/view/home/1356228892854

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1356228892854.html
Ruby开发 CoffeeScript