Skip to content

Installation and js loading #28

@marcandre

Description

@marcandre

Barista looks awesome.

I installed it and converted a html :javascript to :coffeescript.

Without any other change (Rails 3.0.4 in development, no fiddling with default javascripts, empty barista config) it doesn't work because the client side coffeescript.js is not loaded (and the source html has the script as "text/coffeescript")

I changed the config with c.embedded_interpreter = false and that bypasses the issue.

  1. Wouldn't it be best to add "coffeescript" to the default javascript sources?
  2. In the meantime, is there a standard way of embedding "coffeescript.js"?
  3. I'd recommend adding the embedded_interpreter option (commented) in the generated config.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions