1

I'm trying to use Backbone.js in a web page.

When I link to the .js file for version 0.9.9 I get the following error at line 225.

 TypeError _ is undefined
 _.extend(Backbone,Events);

However, _ is defined at line 40

  var _ = root._;

And that variable declaration isn't inside a loop or conditional statement.

Why doesn't line 225 recognize what line 40 declared?

1

1 Answer 1

1

Backbone.js is dependent on Underscore.js

Sign up to request clarification or add additional context in comments.

1 Comment

And I am too dependent on idiocy.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.