Skip to content

Commit 3405fc5

Browse files
Merge pull request qntln#5 from qntln/hotfix/fix-https
Hotfix/fix https
2 parents 0b71180 + 71b690d commit 3405fc5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+11259
-3422
lines changed

.babelrc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
{
2-
"presets": ["react"]
3-
}
2+
"presets": [
3+
[
4+
"env", {
5+
"targets": {
6+
"browsers": ["last 2 versions"]
7+
}
8+
}
9+
],
10+
"react",
11+
"stage-2"
12+
]
13+
}

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = false

.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
parser: "babel-eslint",
3+
env: {
4+
browser: true,
5+
es6: true,
6+
node: true
7+
},
8+
plugins: ["prettier", "react"],
9+
extends: ["prettier", "plugin:react/recommended", "eslint:recommended"]
10+
};

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
build
21
node_modules
3-
yarn.lock
4-
npm-debug.log
2+
npm-debug.log
3+
.idea
4+
storybook-static
5+
dist
6+
yarn-error.log

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build
2+
.idea
3+
node_modules

.storybook/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { configure } from '@storybook/react';
2+
3+
function loadStories() {
4+
require('../stories');
5+
}
6+
7+
configure(loadStories, module);

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# react-canvas
22

3+
This is a fork of [Flipboard/react-canvas](https://github.com/Flipboard/react-canvas) which:
4+
- Upgrades to React 16 and uses a custom renderer with `react-reconciler`
5+
- Converts to ES modules and modern ES6+
6+
- Storybook for ease of testing examples
7+
- Removes the need to use [brfs](https://github.com/substack/brfs) and `transform-loader` when using webpack.
8+
9+
This fork builds upon work by [CraigMorton](https://github.com/CraigMorton/react-canvas) and [CSBerger](https://github.com/CSberger/react-canvas)
10+
11+
# Original repo's README
12+
313
[Introductory blog post](http://engineering.flipboard.com/2015/02/mobile-web)
414

515
React Canvas adds the ability for React components to render to `<canvas>` rather than DOM.

examples/common/examples.css

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)