Cannot call 'start' of undefined when starting backbone.js history.

后端 未结 8 1172
感情败类
感情败类 2020-12-15 16:30

I get Cannot call \'start\' of undefined when calling...

    Backbone.history.start()

When running some checks Backbone return

8条回答
  •  太阳男子
    2020-12-15 17:13

    A similar error message ".. has no method 'start'" pops up if you write Backbone.History.start instead of Backbone.history.start (the correct one is with lowercase h in history).

提交回复
热议问题