(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import { EditorState, SelectionState } from 'draft-js'; | |
| import getSelectedBlocks from './getSelectedBlocks'; | |
| /** | |
| * Calls a provided `modifier` function with a selection for each | |
| * selected block in the current editor selection. Passes through additional | |
| * arguments to the modifier. | |
| * | |
| * Note: At the moment it will retain the original selection and override |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
A timeline of the last four years of detecting good old window.localStorage.
October 2009: 5059daa
| var signForm = $.ajax({ | |
| type: "POST", | |
| url: "/some/form", | |
| dataType: "JSON", | |
| data: myData | |
| }); | |
| signForm.done(function(response){ | |
| // handle success here | |
| }); |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |