mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
update CoffeeScript section with requirements for ruby-coffeescript 2.x in spanish readme
This commit is contained in:
parent
7c952491e7
commit
425c275542
1 changed files with 8 additions and 2 deletions
|
@ -487,8 +487,14 @@ Renderiza <tt>./views/index.slim</tt>.
|
|||
|
||||
=== Plantillas CoffeeScript
|
||||
|
||||
La gem/librería coffee-script y el binario `coffee` son necesarios para
|
||||
renderizar plantillas CoffeeScript:
|
||||
La gem/librería <tt>coffee-script</tt> y al menos <b>una</b> de las siguientes
|
||||
opciones para ejecutar JavaScript:
|
||||
|
||||
* +node+ (de Node.js) en tu path
|
||||
* utilizar OSX
|
||||
* la gem/librería +therubyracer+
|
||||
|
||||
son necesarios para renderizar plantillas CoffeeScript:
|
||||
|
||||
# Vas a necesitar requerir coffee-script en tu app
|
||||
require 'coffee-script'
|
||||
|
|
Loading…
Reference in a new issue