【问题标题】:Removing jQLite (mini-jQuery) from Angularjs从 Angularjs 中删除 jQLite (mini-jQuery)
【发布时间】:2014-01-29 04:43:46
【问题描述】:

Angularjs 使用 very stripped version on jQuery 称为 jQLite(或在某些网站中使用 mini-jQuery)。如果您添加对主 jQuery 的引用,Angularjs 将使用您的主 jQuery,并且我总是在我的应用程序中引用主 jQuery。因此,为了减小 Angularjs 的大小,我想从 Angularjs 文件中删除 jQLite。什么是简单(且安全)的方法?

【问题讨论】:

  • jqLit​​e 是-tiny-,我认为您可以通过专注于其他事情来省去很多麻烦。
  • 猜猜在 Angular 提供自定义构建之前不会有合适的方法来做到这一点。

标签: javascript jquery angularjs jqlite


【解决方案1】:

这是官方答案,由其中一位创作者回答 -

https://plus.google.com/+IgorMinar/posts/EgjErc6NdrD

以及与之相关的另一个讨论。

https://groups.google.com/forum/#!topic/angular/PPKd5vu6FYk

他们提到了我想说的一切。

【讨论】:

    猜你喜欢
    • 2013-11-13
    • 2018-10-28
    • 1970-01-01
    • 1970-01-01
    • 2016-03-25
    • 2016-05-17
    • 2016-03-14
    • 1970-01-01
    • 2013-08-16
    相关资源
    最近更新 更多