Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 809243 thumbnail
User 935135 avatar

By mmgalea
via cloudmark.github.com
Published: Jun 20 2012 / 18:22

Ever wanted to include a file (js or coffee) from local disk or a remote location directly into a coffee script file without the need of copying it and pasting it directly in the file? I really needed this at work and wrote a small coffee script pre-processor to allow coffee scripts to have #= include tags. I am submitting it to community to help others with the same need.
  • 4
  • 1
  • 715
  • 522

Comments

Add your comment
User 226303 avatar

devdanke replied ago:

0 votes Vote down Vote up Reply

If you build your project with Maven, there's another way to join together (A.K.A. include) Coffeescript files. The coffee-maven-plugin sends the compiled output of many coffeescript files to a single output file.

Details about the coffee-maven-plugin:
https://github.com/talios/coffee-maven-plugin/blob/develop/README.md

The plugin makes it easier for a Java programmer to use Coffeescript. The plugin's creator is Mark Derricutt.

User 935135 avatar

mmgalea replied ago:

0 votes Vote down Vote up Reply

Thanks for the pointer. Looks really cool.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (1)