Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can.VERSION shows @EDGE but what about 2 years later? #418
You are right, this was added as a fix to #316. I posed a similar question in that issue about what the GitHub version of CanJS should output as its VERSION. We were trying to avoid updating the version by hand, but you raise a good point.
Most complex projects like ours always force you to use a built version of their library. For example, you'd never use the files in the src directory of jquery. You make your modifications, do a build and use the output of the build. But with CanJS, you do use the src files if you want to use steal.
So we either 1) accept that VERSION will be inaccurate or 2) update the VERSION by hand or 3) Make a built steal version of CanJS similar to how we have a version for AMD.
I actually like 3 because there are lots of documentation, demo pages and tests in the GitHub source and a clean steal build might be nice. It makes working with CanJS similar to working with jQuery or any other relatively large library. You have source files, but the files you use in your application are the result of a build step.
@daffl what do you think?
I think the main issue that @jianlin was mentioning is that