Headers and paragraphs have margins.
We use p for everything, to keep styles consistent, even if those things
| /* | |
| Handy tools & articles for developing eslint rules: | |
| https://astexplorer.net/ | |
| https://www.webiny.com/blog/create-custom-eslint-rules-in-2-minutes-e3d41cb6a9a0 | |
| https://blog.maximeheckel.com/posts/how-to-build-first-eslint-rule/ | |
| Developing: | |
| (make changes) | |
| yarn add --dev file:./eslint && yarn eslint . | |
| */ |
| import { graphql } from 'react-apollo' | |
| import { UPDATE_WORD_MUTATION } from '<GraphQL query strings file>' | |
| export const withUpdateWord = cc => | |
| graphql(UPDATE_WORD_MUTATION, { | |
| props: ({ mutate }) => ({ | |
| updateWord: ({ id, newData, optimisticNewModel }) => { | |
| return mutate({ | |
| variables: { | |
| id, |
| // NOW | |
| import angular from 'angular'; | |
| module.exports = angular.module('admin.components.od-document-table.od-admin-document-table', [ | |
| ]) | |
| .component('odAdminDocumentTable', { | |
| bindings: { | |
| documentableId: '<', | |
| documents: '=', |
| #!/bin/bash | |
| set -euo pipefail | |
| # This script controls stack-specific setup, like tools to download and | |
| # install. It runs once when you run vagrant-spk vm up. When you modify this | |
| # file, you must manually re-execute it. See below for details. | |
| # | |
| # This is the ideal place to apt-get install system packages your app relies | |
| # on, or run other installers via curl|bash etc. Use this file to install: |
| #!/bin/bash | |
| set -euo pipefail | |
| # This script is run in the VM each time you run `vagrant-spk dev`. This is | |
| # the ideal place to invoke anything which is normally part of your app's build | |
| # process - transforming the code in your repository into the collection of files | |
| # which can actually run the service in production. | |
| export SANDSTORM=1 |
| ### Keybase proof | |
| I hereby claim: | |
| * I am azirbel on github. | |
| * I am azirbel (https://keybase.io/azirbel) on keybase. | |
| * I have a public key whose fingerprint is 7693 068F 7DDF A568 8200 B102 0A8A FA6D DD69 6073 | |
| To claim this, I am signing this object: |
| FUNCTION AutoSave() | |
| Called 6 times | |
| Total time: 0.000601 | |
| Self time: 0.000601 | |
| count total (s) self (s) | |
| 6 0.000072 if g:auto_save >= 1 | |
| 6 0.000109 let was_modified = &modified | |
| 6 0.000021 if g:auto_save_keep_marks >= 1 | |
| 6 0.000113 let first_char_pos = getpos("'[") |