ruby on rails - TypeError: undefined is not an object (evaluating 'Backbone.Wreqr.radio') -
i using rails 4.2.6, ruby 2.3.0, backbone.js 1.3.3, marionettejs (backbone.marionette) v2.4.5, underscore.js 1.8.3.
my application.js
file is:
//= require jquery //= require lib/underscore //= require lib/backbone //= require lib/marionette //= require backbone/app
i following tutorial backbonerails.com
. @ beginning of chapter 5 , app empty, no footer, no header no main content.
i getting error:
typeerror: undefined not object (evaluating 'backbone.wreqr.radio') _initchannel — marionette.self-5755e16504f179d152ad666130d554d6925cca98e4374dbad360dc6b42b17d74.js:3232 constructor — marionette.self-5755e16504f179d152ad666130d554d6925cca98e4374dbad360dc6b42b17d74.js:3100 (anonymous function) — app.self-a30509b2e8139de6bc6c843d616c92384df06b065083ad664d54a1bfa1e59250.js:4 (anonymous function) — app.self-a30509b2e8139de6bc6c843d616c92384df06b065083ad664d54a1bfa1e59250.js:16 global code — app.self-a30509b2e8139de6bc6c843d616c92384df06b065083ad664d54a1bfa1e59250.js:18
and error, assuming consequence of previous one:
referenceerror: can't find variable: demo (anonymous function) — localhost:24 fire — jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js:3233 firewith — jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js:3363 ready — jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js:3583 completed — jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js:3618
any clue doing wrong here?
Comments
Post a Comment