Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions 2015/2015-03-25-the-ultimate-flask-front-end-part-2.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var countries = [
{"name": "Spain"}, {"name": "Poland"}, {"name": "Haiti"}
];

React.render(
ReactDOM.render(
<DynamicSearch items={ countries } />,
document.getElementById('main')
);
Expand Down Expand Up @@ -245,6 +245,7 @@ Ready for a quick test? Update *index.html*:
</div>
<!-- scripts -->
<script src="{{ url_for('static', filename='bower_components/react/react.min.js') }}"></script>
<script src="{{ url_for('static', filename='bower_components/react/react-dom.min.js') }}"></script>
<script src="{{ url_for('static', filename='bower_components/jquery/dist/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='bower_components/bootstrap/dist/js/bootstrap.min.js') }}"></script>
<script src="{{ url_for('static', filename='scripts/js/main.js') }}"></script>
Expand Down Expand Up @@ -332,4 +333,4 @@ Grab the code from the [repo](https://github.com/realpython/ultimate-flask-front

<p style="font-size: 14px;">
<em>Edits made by <a href="https://twitter.com/diek007">Derrick Kearney</a>. Thanks again!</em>
</p>
</p>