angular2.js VS angular2.dev.js [英] angular2.js vs angular2.dev.js
问题描述
我想知道的 angular2.js
和 angular2.dev.js
,当然也有差异更多的文件,如: router.dev.js
和 router.js
多,我的问题是,为什么有2个版本什么是它们之间的区别是什么?
I was wondering about the differences between angular2.js
and angular2.dev.js
, of course there are more files like: router.dev.js
and router.js
and more, my question is why there are 2 versions and what is the differences between them?
推荐答案
angular2.dev.js使用 global.Zone.longStackTraceZone =要求('../区/长堆栈trace.js ')
通过zone.js用于显示角度例外长的堆栈跟踪,以帮助您的开发。
angular2.dev.js uses global.Zone.longStackTraceZone = require('../zones/long-stack-trace.js')
via zone.js for showing long stacktrace for angular exceptions to help with your development.
来源:<一个href=\"https://$c$c.angularjs.org/2.0.0-alpha.28/angular2.dev.js\">https://$c$c.angularjs.org/2.0.0-alpha.28/angular2.dev.js
1984年行至2089行
Line 1984 to Line 2089
这篇关于angular2.js VS angular2.dev.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!