Files
meteor/packages/coffeescript/coffeescript_tests.coffee
David Glasser d40ff521ef Support @export in CoffeeScript.
You must declare your @exports using single-line ### comments:

   ### @export x ###
   x = 5

This involves some ugly and not 100% correct low-level source hackery, making
some assumptions about the format that CoffeeScript generates.
2013-06-19 23:14:58 -07:00

11 lines
250 B
CoffeeScript

Meteor.__COFFEESCRIPT_PRESENT = true
### @export COFFEESCRIPT_EXPORTED ###
COFFEESCRIPT_EXPORTED = 123
# This is read in coffeescript_strict_tests.coffee.
share.coffeeShared = 789
Tinytest.add "coffeescript - compile", (test) -> test.isTrue true