Home > Cannot Read > Uncaught Typeerror Cannot Read Property 'extend' Of Undefined Backbone

Uncaught Typeerror Cannot Read Property 'extend' Of Undefined Backbone

Contents

I use npm 3.6.0 and node 5.6.0. You signed out in another tab or window. I do have a question though. JoshClose closed this Feb 21, 2013 Sign up for free to join this conversation on GitHub. this contact form

We are trying a bunch of different versions but still no luck. Collections use user model, as working unit, but when I defined this Collection, I did not define Model. jessecravens commented Feb 29, 2012 yep that did it, off to read the require.js api. HenrikJoreteg closed this May 20, 2015 Sign up for free to join this conversation on GitHub.

Uncaught Typeerror Cannot Read Property 'extend' Of Undefined Backbone

realalexhomer commented Jun 1, 2015 +1 I cannot figure out a way currently to use Browserify with Marionette. Sites: Disneyland vs Disneyworld How to jump around the piano? Why does backbone throws me this error?

javascript backbone.js underscore.js share|improve this question asked May 23 '14 at 7:42 awongCM 44551331 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted You are I am using WordPress 4.5 nighlty build. Underbrace under nested square roots What is the total sum of the cardinalities of all subsets of a set? Uncaught Typeerror: Cannot Read Property 'radio' Of Undefined backbone collaborator wookiehangover commented Feb 21, 2013 @JoshClose in most normal situations you should just be able to use your model or collection methods and rely on this being the correct

I dont know require.js that well, but it appears that layout.manager is loading before backbone.js. Cannot Read Property 'prototype' Of Undefined Backbone You signed in with another tab or window. var AmpersandView = require('ampersand-view'); var WelcomeView = AmpersandView.extend({ template: '

Hello
' }); module.exports = WelcomeView; Running npm list reports we're using [email protected] Join them; it only takes a minute: Sign up Backbone js - Uncaught type error: Cannot read property 'on' of undefined up vote 2 down vote favorite I have the following

Loading Marionette with Webpack bundles 3 different versions of Backbone and 2 versions of Underscore. Cannot Read Property 'replace' Of Undefined Underscore How to grep two numbers from the same line at different places using bash? For tests sake, removing completely Backbone from package.json and letting Marionette use whatever it wanted was also working, but I like to have new version of stuff whenever possible, and nothing What was Stan Lee's character reading on the bus in Doctor Strange Is there any known limit for how many dice RPG players are comfortable adding up?

Cannot Read Property 'prototype' Of Undefined Backbone

You signed out in another tab or window. https://github.com/marionettejs/backbone.marionette/issues/2559 Tank-Fighting Alien Was a massive case of voter fraud uncovered in Florida? Uncaught Typeerror Cannot Read Property 'extend' Of Undefined Backbone Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Uncaught Typeerror: Cannot Read Property 'each' Of Undefined Marionette.js member ahumphreys87 commented Aug 28, 2015 Which version of backbone are you using in your app?

Not the answer you're looking for? http://dekovsoft.com/cannot-read/typeerror-cannot-read-property-39-apply-39-of-undefined-gulp.html Marionette.js member jridgewell commented May 27, 2015 @sehmaschine: You're requiring Marionette before you set Backbone.$. Why do the cars die after removing jumper cables more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact JoshClose commented Feb 21, 2013 The latest. Backbone Cannot Read Property Id Of Undefined

Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. I run into this issue when I updated npm. In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms navigate here I'm following a video tutorial.

Your Function.prototype.bind call on the initialize value is also bizarre, what do you expect this to be in that context and why are you trying to bind there? –mu is too Webpack Backbone Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Skip to toolbar About WordPress About WordPress WordPress.org Documentation Support Forums Feedback Search Log In

I'm using backbone.js.

How Did The Dred Scott Decision Contribute to the Civil War? Backbone: 0.9.10 Underscore: 1.4.4 backbone collaborator tgriesser commented Feb 21, 2013 @JoshClose the ability to use _.bindAll with no additional arguments was removed from underscore in this commit, take a look So, as y'all figured out already, do this: var View = AmpersandView.extend({ /* extend here ... */}); var view = new View({ model: new Model(), el: document.body }); instead of var Cdn Underscore Is this the recommended way of using doing this?

mhuggins commented Jul 16, 2014 After digging further, it looks like it's failing within ampersand-state, which is required by ampersand-view. It's only in situations where this will be coerced that you'd need to worry about using _.bind to set it to the expected value. Visiting Singapore for attending Conference. his comment is here I've tried everything suggested in this and other threads I've seen to no avail.

I'll just wait for Marionette to bump the Backbone dependency and hopefully things will sort out. I think I'm done messing with configuration files for now... Instead: var $ = require('jquery'); var Backbone = require('backbone'); Backbone.$ = $; var Marionette = require('backbone.marionette'); sehmaschine commented May 27, 2015 @jridgewell that doesn't make a difference (already tried all kinds Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1,649 Star 25,717 Fork 5,641 jashkenas/backbone Code Issues 36 Pull requests 35 Projects

needmoredesigns @needmoredesigns 6 months, 4 weeks ago My bad. I'm not sure if thats it and Im not sure how require.js is handlin the execution order. My original WelcomeView code looked more like this before stripping it down to the "essentials": var AmpersandView = require('ampersand-view'); var WelcomeScreen = require('../screens/welcome'); var WelcomeView = AmpersandView.extend({ el: 'body', render: function quentindemetz commented Aug 28, 2015 I was using 1.2.2, rolling back to 1.2.1 fixed the issue. 👍 newtonianb commented Mar 4, 2016 @stevewillard @quentindemetz We are having the exact same issue!

more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Already have an account? I'm using ampersand-view version 7.2.0 HenrikJoreteg added a commit to AmpersandJS/ampersand-state that referenced this issue May 20, 2015 HenrikJoreteg