Skip to content

line missing in example in readme #7

@devdavidkarlsson

Description

@devdavidkarlsson

In the walk thorugh for creating Human in the Readme in

"3-integrate our 2 components

Open public/js/modules/main.js and replace content with this :"

A line is missing: Backbone.$ = window.$ = require("jquery")

Should be:

/** @jsx React.DOM */
var React = require('react');
var Backbone = require("backbone");
Backbone.$ = window.$ = require("jquery") //<-----------------THIS IS MISSING
var About = require('../react_components/About');

var HumanForm = require('../react_components/HumanForm');
var HumansTable = require('../react_components/HumansTable');

Backbone.history.start();

React.renderComponent(
,
document.querySelector('HumansTable')
);

React.renderComponent(
,
document.querySelector('HumanForm')
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions