Sea.js 如何与 CoffeeScript 结合使用?


大家都知道 CoffeeScript 编译出来的 Javascript 代码是这样的:


 javascript


 (function(){

}).call(this);

那 Sea.js 如何与之结合作用呢?

(刚开始学习接触 Sea.js,望指教)

coffeescript seajs JavaScript

jde51 12 years ago

coffeescript里面的全局变量前都加上@,这样seajs因该能用了吧!

Sean. answered 10 years, 9 months ago

module.exports = xxx

slince answered 10 years, 9 months ago

Your Answer