mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
CoffeeScript doesn't allow you to assign to global variables using variable assignment syntax (though you can assign properties to the global object), which is the way to create package-level shared variables in Meteor. This commit provides a CoffeeScript-specific to share variables between files in a package without adding a redundant alternative for JavaScript files: simply assign properties on the symbol `shared`.
2 lines
28 B
JavaScript
2 lines
28 B
JavaScript
sharedFromJavascript = 135;
|