Skip to content

Commit

Permalink
Add a new system to handle backend change (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Jun 17, 2018
1 parent 5a3e48b commit 9820b1f
Show file tree
Hide file tree
Showing 16 changed files with 194 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ language: node_js
node_js:
- "node"
- "lts/*"
- "8"
- "7"

script:
- npm run travis:test
Expand Down
10 changes: 10 additions & 0 deletions dev/dnd-multi-backend.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>dnd-multi-backend Examples</title>
</head>
<body>
<div>TODO:</div>
<script src="examples_dnd-multi-backend.min.js"></script>
</body>
</html>
14 changes: 14 additions & 0 deletions dev/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Examples</title>
</head>
<body>
<p>Here are the examples for each package:</p>
<ul>
<li><a href="react-dnd-multi-backend.html">react-dnd-multi-backend</a></li>
<li><a href="dnd-multi-backend.html">dnd-multi-backend</a></li>
<li><a href="react-dnd-preview.html">react-dnd-preview</a></li>
</ul>
</body>
</html>
19 changes: 19 additions & 0 deletions dev/react-dnd-multi-backend.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

<!DOCTYPE html>
<html>
<head>
<title>ReactDnDMultiBackend Examples</title>
<style>
.square {
display: inline-block;
width: 100px;
height: 100px;
margin: 10px;
}
</style>
</head>
<body>
<div id="root">React is not working</div>
<script src="examples_react-dnd-multi-backend.min.js"></script>
</body>
</html>
10 changes: 10 additions & 0 deletions dev/react-dnd-preview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>react-dnd-preview Examples</title>
</head>
<body>
<div id="root">TODO: React is not working</div>
<script src="examples_react-dnd-preview.min.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion dist/RDMBHTML5toTouch.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ReactDnDMultiBackend.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/dnd-multi-backend.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9820b1f

Please sign in to comment.