Skip to content

Wrong tutorial, missing an argument in a function... #85

Description

@totty90

At http://backbonetutorials.com/organizing-backbone-using-modules/

define([
'jquery',
'underscore',
'backbone',
'views/projects/list',
'views/users/list'
], function($, _, Backbone, Session, ProjectListView, UserListView){

Is wrong because the Session is not loaded.

Also in the same page: http://backbonetutorials.com/organizing-backbone-using-modules/

app_router.on('showProjects', function(){

should be

app_router.on('route:showProjects', function(){

see more here: http://stackoverflow.com/questions/14410242/backbone-router-doesnt-work-with-requirejs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions