Does Backbone.js have a hard dependency on jQuery?

后端 未结 4 1454
名媛妹妹
名媛妹妹 2021-02-07 02:17

According to backbone js website:

Backbone\'s only hard dependency is Underscore.js ( > 1.3.1). For RESTful persistence, history support via Backbone.Rout

4条回答
  •  礼貌的吻别
    2021-02-07 02:55

    You can use the Backbone.Model without jQuery, but Backbone.View will require either jQuery or Zepto, just like the docs state.

提交回复
热议问题