We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not so sure about this but this quite solves my problem, loading backbone without getting errors.
I found it at line 35 of backbone source that states like this: if (!_ && (typeof require !== 'undefined')) _ = require('underscore')._;
This code produced this error on the console: _ is undefined [Break On This Error] _.extend(Backbone.Model.prototype, Backbone.Events, {
I tried removing '.' and it solves the problem: if (! && (typeof require !== 'undefined')) _ = require('underscore');
Not sure if this works 100% though but that gets rid of the error.
The text was updated successfully, but these errors were encountered:
This sounds reasonable. I always require underscore with var _ = require("underscore"); so perhaps its just outdated.
var _ = require("underscore");
Sorry, something went wrong.
Thanks.
ee305c4
No branches or pull requests
I'm not so sure about this but this quite solves my problem, loading backbone without getting errors.
I found it at line 35 of backbone source that states like this:
if (!_ && (typeof require !== 'undefined')) _ = require('underscore')._;
This code produced this error on the console:
_ is undefined
[Break On This Error] _.extend(Backbone.Model.prototype, Backbone.Events, {
I tried removing '.' and it solves the problem:
if (! && (typeof require !== 'undefined')) _ = require('underscore');
Not sure if this works 100% though but that gets rid of the error.
The text was updated successfully, but these errors were encountered: