Commit Graph

25 Commits

Author SHA1 Message Date
ekatek
f4ea519165 test-packages now works on plugin tests 2014-04-10 22:48:19 -04:00
Geoff Schmidt
66b7253695 Take all packages to 1.0.0 (that aren't already there) 2014-03-07 12:00:20 -08:00
Emily Stark
9a7d857465 Merge remote-tracking branch 'origin/devel' into sso
Conflicts:
	History.md
	packages/coffeescript/package.js
2014-02-12 17:58:56 -08:00
Maxime Quandalle
57779c7cbe Upgrade CoffeeScript from 1.6.3 to 1.7.1
Assumptions about vars in `compile-coffeescript.js` remains valid.
2014-02-12 15:47:06 -08:00
David Glasser
1eaf4a5501 Upgrade source-map used by coffeescript too 2014-02-11 17:56:28 -08:00
David Glasser
6844cb2615 Add test for #1668 2013-12-19 17:00:38 -08:00
Maxime Quandalle
8df6553ce2 Add a literate handler in the coffeescript package
Add .coffee.md handling tests
2013-09-12 14:29:50 -07:00
David Glasser
4e18439ae6 Source maps for coffeescript. 2013-07-12 10:11:30 -07:00
David Glasser
e33694874d Test slices now never contain exports.
@export is now an error in test slices.

This is preparation for ensuring that any slice with exports has at least
"Package.foo = {}"; without this commit, both the use and test slice would (with
that change) try to overwrite Package.foo.

Remove the attempt to allow @export in 'use strict' CoffeeScript files:
ECMAScript 'use strict' is fundamentally incompatible with our implementation of
exports, and it was probably a bug that this used to work at all.
2013-06-26 12:26:12 -07:00
David Glasser
a4d9f295fe Upgrade CoffeeScript to 1.6.3.
The change I care about is that single-line ### comments get output as
single-line /**/ comments, which is what linker's @keyword parser is looking
for.
2013-06-19 23:14:58 -07:00
David Glasser
b68483e31b Implement package-level shared variables for CoffeeScript.
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`.
2013-06-18 09:59:42 -07:00
Geoff Schmidt
8c72a28e35 Port coffeescript package to new plugin API 2013-05-13 11:52:43 -07:00
David Glasser
6b48e8bd8a stuff that doesn't have conflicts 2013-05-13 11:51:50 -07:00
Andrew Wilcox
c83fcbb5ca Bump CoffeeScript version to 1.6.2. 2013-04-25 14:20:29 -07:00
Andrew Wilcox
6873c91424 Allow CoffeeScript to set global vars when using "use strict".
Ha.  Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4)

Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00
Avital Oliver
5a0a4f5ab0 npm dependencies at bundle time
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
  to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00
Rasmus Erik Voel Jensen
898f552f29 CoffeeScript v1.5.0 in generate-dev-bundle.sh + style fix in coffeescript-package 2013-03-02 18:48:08 -08:00
Rasmus Erik Voel Jensen
fa4c81071d Literate CoffeeScript support. Added support for extension .litcoffee (and updated tests and documentation). 2013-03-02 18:48:08 -08:00
Tom Coleman
6a4f20ae55 Better error reporting for coffescript.
Use CS's inbuilt filename reporting, and use `bundle.error` rather than throwing.
Fixes #331
2012-09-16 12:10:09 +10:00
David Greenspan
840dc7d8a5 make coffeescript tests fail if .coffee file doesn't run 2012-04-25 17:36:45 -07:00
Nick Martin
b0af1751c7 Add coffeescript tests. 2012-04-25 13:35:26 -07:00
Jason Giedymin
078cdaf441 Add bare option for compiling CoffeeScript
Removes top-level function safety wrapper.
(http://coffeescript.org/#lexical_scope)
2012-04-24 23:03:43 -07:00
Geoff Schmidt
d1d5604976 Refactor bundler; new package API 2012-01-27 20:02:26 -08:00
Geoff Schmidt
e5eb42e55c Refactor package API/bundler 2012-01-27 20:02:24 -08:00
Nick Martin
d69c2d1f19 Initial import from old busted repo. 2011-11-17 18:35:20 -08:00