This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Use this file as your `docker-compose.yml` if you set up a 10updocker local WordPress site to | |
# run Site Kit's WordPress site (recommended; see: https://10up.github.io/wp-local-docker-docs/) | |
# `$ABSOLUTE_PATH_TO_SITE_KIT_REPO` should be replaced with something like `/Users/$YOUR_USER/Projects/site-kit-wp` | |
version: '3' | |
services: | |
memcached: | |
image: 'memcached:latest' | |
nginx: | |
image: 'nginx:latest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* External dependencies | |
*/ | |
import { get, set } from 'googlesitekit-api'; | |
import { registerStore } from 'googlesitekit-data'; | |
const DEFAULT_STATE = { | |
connectionInfo: {}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Our config values we want to store offline. | |
var config = { | |
fullName: document.getElementById('name').getAttribute('value'), | |
userId: document.getElementById('id').getAttribute('value') | |
}; | |
// Let's save it for the next time we load the app. | |
localStorage.setItem('config', JSON.stringify(config)); | |
// The next time we load the app, we can do: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* External dependencies | |
*/ | |
import classnames from 'classnames'; | |
import { omit, pick } from 'lodash'; | |
/** | |
* WordPress dependencies | |
*/ | |
import { __ } from '@wordpress/i18n'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"path": "gutenberg", | |
"file_exclude_patterns": [ | |
"-coverage/**", | |
"-**.js.map", | |
"-**/build/index.js" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/amo/components/Addon/styles.scss b/src/amo/components/Addon/styles.scss | |
index b24cc5797524..28a74efa304d 100644 | |
--- a/src/amo/components/Addon/styles.scss | |
+++ b/src/amo/components/Addon/styles.scss | |
@@ -193,7 +193,7 @@ | |
.Addon-details { | |
display: grid; | |
grid-auto-flow: column dense; | |
- grid-gap: 10px; | |
+ grid-gap: 0 10px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render() { | |
const { result } = this.props; | |
return ( | |
<li className="SearchResult"> | |
<div> | |
<img className="SearchResult-icon" src={result.icon_url} alt="Icon" /> | |
</div> | |
<section className="SearchResult-main"> | |
<h2 className="SearchResult-heading"> | |
<Link to={`/search/addons/${result.slug}`} className="SearchResult-name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System check identified no issues (0 silenced). | |
May 18, 2016 - 13:53:23 | |
Django version 1.7.11, using settings 'settings' | |
Starting development server at http://0.0.0.0:8000/ | |
Quit the server with CONTROL-C. | |
[18/May/2016 13:53:58] "GET / HTTP/1.0" 302 0 | |
Raven is not configured (logging is disabled). Please see the documentation for more information. | |
13:54:07 raven.contrib.django.client.DjangoClient:INFO Raven is not configured (logging is disabled). Please see the documentation for more information. :/usr/lib/python2.7/site-packages/raven/base.py:196 | |
Traceback (most recent call last): | |
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Elapsed: 3.95s; From _tests: Kept 24117 existing; Added/updated 0; Removed 0 files and 0 directories. | |
###### | |
### Now running mochitest-chrome. | |
###### | |
Checking for orphan ssltunnel processes... | |
Checking for orphan xpcshell processes... | |
SUITE-START | Running 1 tests | |
dir: toolkit/components/extensions/test/mochitest |
NewerOlder