Why did Underscore.js remove support for AMD?

前端 未结 4 494
温柔的废话
温柔的废话 2020-12-08 00:07

1.3.0 — Jan. 11, 2012 Removed AMD (RequireJS) support from Underscore. If you\'d like to use Underscore with RequireJS, you can load it as a normal script, w

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 00:33

    I felt the need to add to this fairly old question.

    Both Backbone and Underscore now support AMD:

    1. Underscore commit
    2. Backbone Commit

    Discussions (albeit Backbone's one is a bit puzzling as there is a clear discrepancy between the tone of the discussion and the actual outcome):

    1. Underscore Issue
    2. Backbone Issue

提交回复
热议问题