Skip to content

Commit ae195a7

Browse files
committed
more cleanup
1 parent 950852c commit ae195a7

File tree

7 files changed

+303
-410
lines changed

7 files changed

+303
-410
lines changed

LICENSE

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
The MIT License (MIT)
1+
Copyright (c) 2015, salesforce.com, inc. All rights reserved.
22

3-
Copyright (c) 2014 Dan Abramov
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
5+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
6+
Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
47

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
8+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

demo/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
import React from 'react';
24
import Router from 'react-router';
35
const { Route, DefaultRoute, RouteHandler, Link } = Router;
Lines changed: 287 additions & 383 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<meta content="width=device-width, initial-scale=1" name="viewport" />
99

10-
<link rel="stylesheet" type="text/css" href="static/bundle.css">
10+
<link rel="stylesheet" type="text/css" href="demo/static/bundle.css">
1111

1212
<link rel="stylesheet" type="text/css" href="demo/assets/styles/salesforce-lightning-design-system.css">
1313

@@ -19,6 +19,6 @@
1919
<div id='root'>
2020
</div>
2121
<script src="demo/demo_assets/prism.js"></script>
22-
<script src="static/bundle.js"></script>
22+
<script src="demo/static/bundle.js"></script>
2323
</body>
2424
</html>

webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ var ExtractTextPlugin = require("extract-text-webpack-plugin");
66
module.exports = {
77
devtool: 'eval',
88
entry: [
9-
'./src/index'
9+
'./demo/index'
1010
],
1111
output: {
12-
path: path.join(__dirname, 'static'),
12+
path: path.join(__dirname, 'demo', 'static'),
1313
filename: 'bundle.js',
14-
publicPath: '/static/'
14+
publicPath: '/demo/static/'
1515
},
1616
plugins: [
1717
new webpack.NoErrorsPlugin(),
@@ -29,7 +29,7 @@ module.exports = {
2929
loaders: [{
3030
test: /\.jsx?$/,
3131
loaders: ['babel'],
32-
include: path.join(__dirname, 'src')
32+
include: [path.join(__dirname, 'demo'),path.join(__dirname, 'components')]
3333
},
3434
{
3535
test: /\.css$/,

webpack.dev.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ module.exports = {
1010
'./demo/index'
1111
],
1212
output: {
13-
path: path.join(__dirname, 'static'),
13+
path: path.join(__dirname, 'demo/static'),
1414
filename: 'bundle.js',
15-
publicPath: '/static/'
15+
publicPath: '/demo/static/'
1616
},
1717
plugins: [
1818
new webpack.HotModuleReplacementPlugin(),

0 commit comments

Comments
 (0)