Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ladas-larry committed Dec 3, 2017
1 parent ccccdb2 commit 2f76111
Show file tree
Hide file tree
Showing 7 changed files with 10,109 additions and 80 deletions.
10,083 changes: 10,075 additions & 8 deletions bundle.js

Large diffs are not rendered by default.

62 changes: 0 additions & 62 deletions css/gridlist.css

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion examples/index.html
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<title>React Sortable</title>
<link href="gridlist.css" rel="stylesheet" />
<link href="../css/sortable.css" rel="stylesheet" />
</head>

<body>
Expand Down
18 changes: 11 additions & 7 deletions index.html
@@ -1,22 +1,26 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>React Sortable</title>
<link href="css/gridlist.css" rel="stylesheet"/>
<link href="css/sortable.css" rel="stylesheet" />
</head>

<body>

<a href="../">webcloud</a> / React Sortable
<h1>React Sortable</h1>
<p>View source and documentation on <a href="https://github.com/danielstocks/react-sortable/">Github</a>.
<a href="../">webcloud</a> / React Sortable
<h1>React Sortable</h1>
<p>View source and documentation on
<a href="https://github.com/danielstocks/react-sortable/">Github</a>.

<p>You can also try dragging items between the grid and the list</p>
<p>You can also try dragging items between the grid and the list</p>

<div id="app"></div>
<div id="app"></div>

<script type="text/javascript" src="example-real-world/bundle.js" charset="utf-8"></script>
<script type="text/javascript" src="bundle.js" charset="utf-8"></script>


</body>

</html>
21 changes: 21 additions & 0 deletions webpack.config.js
@@ -0,0 +1,21 @@
var path = require("path");
var webpack = require("webpack");

module.exports = {
entry: "./examples/main.js",
output: {
path: __dirname,
filename: "bundle.js"
},
devServer: {
contentBase: './examples',
host: '0.0.0.0'
},
devtool: 'source-map',
module: {
rules: [
{ test: /\.js?$/, use: 'babel-loader' },
]
},
watch: true
};
3 changes: 1 addition & 2 deletions webpack.devConfig.js
Expand Up @@ -2,11 +2,10 @@ var path = require("path");
var webpack = require("webpack");

module.exports = {
//entry: "./examples/basic-list/index.js",
entry: "./examples/basic-list/index.js",
//entry: "./examples/basic-grid/index.js",
//entry: "./examples/html-table/index.js",
//entry: "./examples/redux/index.js",
entry: "./examples/main.js",
output: {
path: __dirname,
filename: "bundle.js"
Expand Down

0 comments on commit 2f76111

Please sign in to comment.