I just trying this below example, but I am getting error “TypeError: _.has is not a function”.

Example: http://arturadib.com/hello-backbonejs/docs/2.html

I have tried with different jQuery version, Backbone uncompressed version. But still I am getting the same error. Any help on this?

Thanks in Advance.

有帮助吗?

解决方案

Make sure you have Underscore v. 1.3.1 or greater, and that it's loaded before Backbone.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top