http://guides.rubyonrails.org/migrations.html
- add_column
- add_index
- change_column
- change_table
- create_table
- drop_table
http://guides.rubyonrails.org/migrations.html
| function getLegitTextNodes() { | |
| if (!document.createTreeWalker) return []; | |
| var blacklist = ['SCRIPT', 'OPTION', 'TEXTAREA'], | |
| textNodes = [], | |
| walker = document.createTreeWalker( | |
| document.body, | |
| NodeFilter.SHOW_TEXT, | |
| function excludeBlacklistedNodes(node) { | |
| if (blacklist.indexOf(node.parentElement.nodeName.toUpperCase()) >= 0) return NodeFilter.FILTER_REJECT; |
| import React, { useState, useEffect } from "react"; | |
| import axios from "axios"; | |
| const Test = () => { | |
| const [data, setData] = useState([]); | |
| const [land, setLand] = useState(""); | |
| const [pop, setPop] = useState({ | |
| country: "", | |
| population: "", | |
| year: "", |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
| Working with DOM | Working with JS | Working With Functions |
|---|---|---|
| Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
| Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
| Create DOM Elements | Conditionals |