Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Update package react and react-dom to version 15 and update code styl… #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions example/example.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

$rjs = new ReactJS(
// location of React's code
file_get_contents('build/react-bundle.js'),
file_get_contents('build/react-bundle.min.js'),
// app code
file_get_contents('build/table.js')
);
Expand Down Expand Up @@ -47,7 +47,7 @@
<div id="page"><?php echo $rjs->getMarkup(); ?></div>

<!-- load react and app code -->
<script src="react/build/react.min.js"></script>
<script src="build/react-bundle.min.js"></script>
<script src="build/table.js"></script>

<script>
Expand Down
Loading