javascript AngularJS Core vs. Angular JS Nuget 包?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27756719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
AngularJS Core vs. Angular JS Nuget packages?
提问by Alex
This should be a stupid question, but I can't for the life of me find any explanation of this.
这应该是一个愚蠢的问题,但我一生都找不到对此的任何解释。
In Nuget there are two packages that looks like the main-packages: AngularJS Coreand Angular JS. The former have The AngularJS Teamas authors, just like the rest of the other angular modules, and ~200k downloads. The later have different authors Fitzchak Yizcaki, Dov Landaunot seen anywhere else, and the id of the package is not in the same format as the other packages but this has ~350k downloads.
在 Nuget 中有两个看起来像主包的包:AngularJS Core和Angular JS。前者有AngularJS 团队作为作者,就像其他 Angular 模块的其余部分一样,下载量约为 20 万。后者有不同的作者Fitzchak Yizcaki,Dov Landau在其他任何地方都没有看到,并且包的 id 与其他包的格式不同,但这有大约 350k 的下载量。
Now, by looking at the dependencies on the other packages, we see that they refer to AngularJS.Core so we now that this is what we want. I assume.
现在,通过查看对其他包的依赖关系,我们看到它们引用了 AngularJS.Core,所以我们现在知道这就是我们想要的。我假设。
But what is the other package, and why does is almost have twice the downloads?
但是另一个包是什么,为什么几乎有两倍的下载量?
采纳答案by Alex
It turns out that Angular JSpackage is the original main package, and that all these other modules including AngularJS Coreare the result of an initiative to partition the angular framework.
原来Angular JS包是原始的主包,而包括AngularJS Core在内的所有其他模块都是主动对Angular框架进行分区的结果。
Darn confusing start when one is about to get his hands dirty, some explanation about this in the description of the packages would be nice.
当一个人要弄脏他的手时,该死的令人困惑的开始,在包的描述中对此进行一些解释会很好。
回答by KreepN
Late to the party here, but I'm sure this will benefit someone in the future:
迟到了这里的聚会,但我相信这将使将来有人受益: