Skip to content
Permalink
Browse files

Moving and extracting documentation

  • Loading branch information...
cbroberg committed Apr 11, 2017
1 parent d601cfb commit b0e34af9f6280595f88ea575199904999b25c4d6
@@ -8,13 +8,6 @@
## App Components
* <a href="./AppComponents.md" target="_blank">ODEUM CodeJS App Components</a>
## JavaScript Style Guide
We will try to refer to Airbnb's style guide which is pretty strict and solid. We will produce an eslintrc with all the rules that apply for ODEUM CodeJS.
* https://github.com/airbnb/javascript
* http://eslint.org/docs/rules
* https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules
##PropTypes
It is critical that all component development is declared with PropTypes everywhere possible. PropTypes will work both as typechecking security and as an API overview for other developers on which props the component agregates.
@@ -30,4 +23,3 @@ Initially we pull and commit work to 3 branches:
- MASTER
* <a href="./developer/odeum-codejs-branching-strategy.png" target="_blank">ODEUM CodeJS Branching Strategy</a>
@@ -0,0 +1,9 @@
# JavaScript Style Guide
We will try to refer to Airbnb's style guide which is pretty strict and solid. We will produce an eslintrc with all the rules that apply for ODEUM CodeJS.

## Inspiration

* https://github.com/airbnb/javascript
* http://eslint.org/docs/rules
* https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules
* https://github.com/styled-components/stylelint-processor-styled-components
File renamed without changes.
@@ -3,14 +3,14 @@
}

.App-logo {
animation: App-logo-spin infinite 20s linear;
animation: App-logo-spin infinite 2s linear;
height: 80px;
}

.App-header {
background-color: #222;
height: 150px;
padding: 20px;
background-color: #2c3e50;
height: 250px;
padding: 200px;
color: white;
}

@@ -1,21 +1,21 @@
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import React, { Component } from 'react'
import logo from './codejs_logo.png'
import './App.css'

class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
<img src={logo} className="App-logo" alt="logo" /><br /><br /><br /><br />
<h2>Here we are building the open source React framework ODEUM CodeJS </h2>
</div>
<p className="App-intro">
To get started, edit <code>src/App.js</code> and save to reload.
</p>
</div>
);
)
}
}

export default App;
export default App
BIN +17.8 KB src/codejs_logo.png
Binary file not shown.
@@ -1,9 +1,9 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
import './index.css'

ReactDOM.render(
<App />,
document.getElementById('root')
);
)

0 comments on commit b0e34af

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.