简体   繁体   English

Dojo 1.8 / RequireJS AMD加载程序和CoffeeScript插件兼容性

[英]Dojo 1.8/RequireJS AMD loader and CoffeeScript plugin compatibility

Both Dojo 1.8 and RequireJS support AMD loader but I have a problem when using CoffeeScript plugin : Dojo 1.8和RequireJS都支持AMD加载器,但是使用CoffeeScript插件时出现问题:

  • If using Dojo AMD loader: CS plugin is not compatible 如果使用Dojo AMD loader:CS插件不兼容
  • If using RequireJS: dojo/* module are compatible but dijit/* are not (throw errors) 如果使用RequireJS:dojo / *模块兼容,但dijit / *不兼容(抛出错误)

Is there another loader/CoffeeScript plugin for Dojo that is compatible? Dojo是否有另一个兼容的loader / CoffeeScript插件? Or any solution (except using CoffeeScript watch command) 或任何解决方案(使用CoffeeScript watch命令除外)

Have you seen this in the latest Git commit comments? 您在最新的Git提交评论中看到了吗?

3 days ago update to requirejs 2.1.0 3天前更新到requirejs 2.1.0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM