This repository has been archived by the owner on Jun 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
165 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.DS_STORE | ||
npm-debug.log | ||
node_modules | ||
build | ||
dist | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
language: node_js | ||
cache: | ||
directories: | ||
- node_modules | ||
sudo: false | ||
node_js: | ||
- "stable" | ||
before_script: | ||
- "export CHROME_BIN=chromium-browser" | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
install: | ||
- npm install | ||
after_success: | ||
- npm run codecov | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
/** @license | ||
* Copyright 2016 Google Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
.page-content { padding: 40px; } | ||
|
||
#box { | ||
width: 200px; | ||
height: 200px; | ||
background-color: lightGray; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,33 @@ | ||
<!doctype html> | ||
<!DOCTYPE html> | ||
<!-- | ||
Copyright 2016 Google Inc. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
https://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License | ||
--> | ||
|
||
<html> | ||
|
||
<head> | ||
<link rel="stylesheet" href="./node_modules/material-design-lite/material.min.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
<script src="./node_modules/material-design-lite/material.min.js"></script> | ||
<script src="./node_modules/react/dist/react.js"></script> | ||
<script src="./node_modules/react-dom/dist/react-dom.js"></script> | ||
<link rel="stylesheet" href="./node_modules/material-design-lite/material.min.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
<script src="./node_modules/material-design-lite/material.min.js"></script> | ||
<script src="./node_modules/react/dist/react.js"></script> | ||
<script src="./node_modules/react-dom/dist/react-dom.js"></script> | ||
</head> | ||
|
||
<body> | ||
<div id="rmx-overlay-wrapper"></div> | ||
<script src="./node_modules/material-remixer/dist/overlay.js"></script> | ||
<div id="rmx-overlay-wrapper"></div> | ||
<script src="./node_modules/material-remixer/dist/overlay.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,50 @@ | ||
/** @license | ||
* Copyright 2016 Google Inc. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not | ||
* use this file except in compliance with the License. You may obtain a copy | ||
* of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
module.exports = { | ||
entry: { | ||
remixer: './src/core/Remixer.ts', | ||
overlay: './src/ui/render.tsx' | ||
}, | ||
output: { | ||
path: __dirname + "/dist", | ||
filename: "[name].js", | ||
path: __dirname + '/dist', | ||
filename: '[name].js', | ||
libraryTarget: 'umd', | ||
umdNamedDefine: true | ||
}, | ||
devtool: "inline-source-map", | ||
devtool: 'inline-source-map', | ||
resolve: { | ||
extensions: [".webpack.js", ".web.js", ".ts", ".tsx", ".js"] | ||
extensions: ['.webpack.js', '.web.js', '.ts', '.tsx', '.js'] | ||
}, | ||
module: { | ||
loaders: [{ | ||
test: /\.tsx?$/, | ||
loader: "ts-loader" | ||
loader: 'ts-loader' | ||
}, { | ||
test: /\.less$/, | ||
loader: "style-loader!css-loader!less-loader" | ||
loader: 'style-loader!css-loader!less-loader' | ||
}, { | ||
test: /\.html$/, | ||
loader: "html-loader" | ||
loader: 'html-loader' | ||
}], | ||
}, | ||
externals: { | ||
"react": "React", | ||
"react-dom": "ReactDOM", | ||
'react': 'React', | ||
'react-dom': 'ReactDOM', | ||
} | ||
}; |