Pergunta

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.

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top