Skip to content

Commit

Permalink
Check-in a handeful of configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker committed Nov 9, 2018
1 parent 2d2ee0a commit 7264d86
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 2.5.1
6 changes: 2 additions & 4 deletions app/javascript/packs/hello_react.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import React from 'react'
import ReactDOM from 'react-dom'
import PropTypes from 'prop-types'

const Hello = props => (
<div>Hello {props.name}!</div>
)
const Hello = props => <div>Hello {props.name}!</div>

Hello.defaultProps = {
name: 'David'
Expand All @@ -21,6 +19,6 @@ Hello.propTypes = {
document.addEventListener('DOMContentLoaded', () => {
ReactDOM.render(
<Hello name="React" />,
document.body.appendChild(document.createElement('div')),
document.body.appendChild(document.createElement('div'))
)
})
18 changes: 18 additions & 0 deletions db/schema.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 0) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"

end

0 comments on commit 7264d86

Please sign in to comment.