Closed zx1986 closed 11 years ago
No, not in this way you're looking for, but you can workaround it in your development flow.
As you have just a doubt instead of a bug report , please drop an email at the email group so we can talk about it: https://groups.google.com/group/coffee-toaster
This way your doubt can be of help to others seeking for the same ending point.
Thanks.
got it!
and here is my trick:
000-begin.coffee A.coffee B.coffee C.coffee ZZZ-end.coffee
in 000-begin.coffee:
(function($){$(document).ready(function(){
in ZZZ-end.coffee:
});}(jQuery));
https://groups.google.com/d/topic/coffee-toaster/RC-RS-OMQFU/discussion
I'm pretty newbie to javascript.
I just wonder: How could I make the compiled javascript file begin with
(function($){$(document).ready(function(){
and end with});}(jQuery));
by default, coffee-toaster compiled to
(function() {
end with}).call(this)
any trick to make what I say happen?