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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top