Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Extjs 未定义Compile coffeescript Ext.js Ext_Extjs_Coffeescript - Fatal编程技术网

Extjs 未定义Compile coffeescript Ext.js Ext

Extjs 未定义Compile coffeescript Ext.js Ext,extjs,coffeescript,Extjs,Coffeescript,我想在Ext.js项目中使用coffeescript。为了让编译器知道Ext名称空间,我必须做什么? 每当我编译带有节点的ext-js.coffee时,都会出现错误ext未定义 Ext is not defined 我相信这是一个可笑的容易解决的问题,但我陷入了思考堆栈溢出。 非常感谢您的帮助。我认为您是在执行它,而不是在编译它 编译语法是 coffee -c filename.coffee 或者如果你想看它的变化 coffee -wc filename.coffee 我想你在跑步的是 c

我想在Ext.js项目中使用coffeescript。为了让编译器知道Ext名称空间,我必须做什么? 每当我编译带有节点的ext-js.coffee时,都会出现错误ext未定义

Ext is not defined
我相信这是一个可笑的容易解决的问题,但我陷入了思考堆栈溢出。
非常感谢您的帮助。

我认为您是在执行它,而不是在编译它

编译语法是

coffee -c filename.coffee
或者如果你想看它的变化

coffee -wc filename.coffee
我想你在跑步的是

coffee filename.coffee
这实际上和

coffee -c filename.coffee && node filename.js