Closed HipsterBrown closed 9 years ago
Ok nevermind on the Underscore thing. For some reason the this._reset() is called before defined further down in the file. None of the private or public functions defined in the extend, after creating the Collection constructor. Still digging.
@HipsterBrown, were you using new
when instantiating your collection? It sounds like that might have been missing.
I'll check it out. It's been a while since I've been working on that project. Thanks for the tip.
On Dec 15, 2014, at 9:43 PM, Aaron McCall notifications@github.com wrote:
@HipsterBrown, were you using new when instantiating your collection? It sounds like that might have been missing.
— Reply to this email directly or view it on GitHub.
@HipsterBrown, any word on this?
Oh, yes. You were right in the first comment. Issue is solved.
On Jan 6, 2015, at 12:18 AM, Aaron McCall notifications@github.com wrote:
@HipsterBrown, any word on this?
— Reply to this email directly or view it on GitHub.
I was going through the Human JavaScript online videos when I encountered an error during 4-5 "Creating a collection for users".
This error is traced back to the Collection function within ampersand-collection.js
I think it may have something to do with the recent update to Underscore to 1.7.0, which apparently had some breaking changes. I tried rolling back the dependency to 1.6.0 but it is still breaking.
Any help would be great.