mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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.
11 lines
250 B
CoffeeScript
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
|