【发布时间】:2014-12-18 02:41:54
【问题描述】:
我正在使用 [gulp-traceur][1] 在我的 angularjs 应用程序 (1.x) 中将 es6 编译为 js。当我尝试编译 for 循环时,出现错误:
ReferenceError: $traceurRuntime is not defined
看起来我需要将 $traceurRuntime 注入我的控制器或其他东西。谁能帮帮我?
【问题讨论】:
标签: javascript angularjs gulp ecmascript-6 gulp-traceur