Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line missing in example in readme #7

Open
devdavidkarlsson opened this issue May 17, 2015 · 0 comments
Open

line missing in example in readme #7

devdavidkarlsson opened this issue May 17, 2015 · 0 comments

Comments

@devdavidkarlsson
Copy link

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')
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant