Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Bound Function Repeated in CoffeeScript #18

Open
philcockfield opened this issue Jul 5, 2011 · 0 comments
Open

Bound Function Repeated in CoffeeScript #18

philcockfield opened this issue Jul 5, 2011 · 0 comments

Comments

@philcockfield
Copy link

=>

When working with CoffeeScript, the bound function (=>) inserts a helper function (__bind).

Because it's inside the module, stitch is replicating this function for every module in the package.
Is there some way to have this included one at a wider scope than the module to save on repetition.

This issue is talked about in sample form on the Cake sample wiki page:
https://github.com/jashkenas/coffee-script/wiki/%5BHowTo%5D-Compiling-and-Setting-Up-Build-Tools

Really digging Stitch Sam!
Thanks for creating it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant