Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top