-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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
Labels
No labels