raj
raj

Reputation: 543

TypeError in Backbonejs

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.

Upvotes: 0

Views: 279

Answers (1)

David Sulc
David Sulc

Reputation: 25994

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

Upvotes: 4

Related Questions