Skip to content

Commit 674d6b5

Browse files
committed
Added a demo.
1 parent c4b691b commit 674d6b5

File tree

11 files changed

+39744
-8
lines changed

11 files changed

+39744
-8
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
"quotes": [
131131
2, "single", "avoid-escape" // http://eslint.org/docs/rules/quotes
132132
],
133+
"jsx-quotes": 2, // http://http://eslint.org/docs/rules/jsx-quotes
133134
"camelcase": [2, { // http://eslint.org/docs/rules/camelcase
134135
"properties": "never"
135136
}],
@@ -183,7 +184,6 @@
183184
*/
184185
"react/display-name": 0, // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
185186
"react/jsx-boolean-value": 2, // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-boolean-value.md
186-
"react/jsx-quotes": [2, "double"], // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-quotes.md
187187
"react/jsx-no-undef": 2, // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-undef.md
188188
"react/jsx-sort-props": 0, // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-props.md
189189
"react/jsx-sort-prop-types": 0, // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-sort-prop-types.md

demo/app.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Fluxible client-side routing, rendering and rehydration of the React Application.
3+
*/
4+
/*global document, window */
5+
6+
require('babel/polyfill');
7+
8+
import React from 'react';
9+
import ReactDOM from 'react-dom';
10+
11+
import Demo from './components/Demo.jsx';
12+
13+
14+
window.React = React; // for chrome dev tool support
15+
16+
ReactDOM.render(React.createElement(Demo), document.getElementById('demo'));

0 commit comments

Comments
 (0)