You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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');
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')
);
The text was updated successfully, but these errors were encountered: