Questions tagged [coffeescript-resources]
5 questions
6
votes
1 answer
Disable grails 2.0 resources processing, after deploy
I've packaged my app into a war (by grails war), and as I see, it have built all required resources. For example I have coffeescript code, that have translated to into js dir. Same for scss, etc. I mean I have all static resources, that can be…

Igor Artamonov
- 35,450
- 10
- 82
- 113
3
votes
2 answers
grails generate css/js resources
I am using coffeescript-resources and the lesscss-resources plugins, how can I generate the resources to get the raw js/css ?
I know I can package it then explode the war, but is there a way to get the outputs in a simpler way?

Nix
- 57,072
- 29
- 149
- 198
1
vote
1 answer
Custom pre-processing steps for coffeescript?
Is there a way to add preprocessing steps to the coffee compiler in a modular way?
Say, for example, that I wanted to augment the functionality of a all arrays and objects with underscore functions, allowing me to do something like…

pixelpax
- 1,435
- 13
- 22
1
vote
2 answers
Why are my coffeescript functions not available from my HTML code ?
I am using rails-backbone, coffeescript gems in my rails 3.2.6 project.
square = (x) -> x * x
alert square(5)
this is the blog.js.coffee script file it produces:
(function() { var square; square = function(x) {return x * x;}; alert(square(5));
I…

Ponnusamy
- 87
- 1
- 1
- 6
0
votes
1 answer
functions in coffee-file are not available from other js
I try to use coffeescript in my Grails-project. To achive this I decided to use coffeescript-resources plugin. But compiled coffee in result view looks like follows:
(function() {
var someFunc;
someFunc = function() {
return…

Vit Ias
- 725
- 4
- 16