This file contains hidden or 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
// ... | |
// Near the bottom of the file, before the `module.exports`, | |
// paste in the following code: | |
const requestProcessor = Object.assign( | |
{}, | |
{ | |
entry: './app/request-processor.js', | |
target: 'node', | |
output: { |
This file contains hidden or 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
// In your project's /web/webpack directory | |
/* eslint-env node */ | |
/* eslint-disable import/no-commonjs */ | |
const path = require('path') | |
module.exports = { | |
entry: './app/request-processor.js', | |
target: 'node', |
This file contains hidden or 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
# Resources... | |
# CloudFrontDistribution... | |
# Properties... | |
# DistributionConfig... | |
# ... | |
DefaultCacheBehavior: | |
# ... | |
ForwardedValues: | |
Cookies: | |
Foreward: all |
This file contains hidden or 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
jest.mock('react-dom', () => ({ | |
findDOMNode() { | |
return { | |
querySelectorAll: () => [], | |
contains: () => true | |
} | |
} | |
})) |
This file contains hidden or 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
// bunch of imports... | |
/** | |
* Add these into the top of any container, and then add `<MyForm />` | |
* anywhere into the component to rendner the form. | |
*/ | |
import Button from 'progressive-web-sdk/dist/components/button' | |
import Field from 'progressive-web-sdk/dist/components/field' | |
import FieldRow from 'progressive-web-sdk/dist/components/field-row' |
This file contains hidden or 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
import React, {PropTypes} from 'react'; | |
import classnames from 'classnames'; | |
import utilityClasses from './utilityClasses'; | |
const Card = ({children, utilityClasses}) => { // how do we grab utility props, i.e. `boxShadow`, `paddingTop`, etc? | |
utilityClasses = { | |
...utilityClasses, // probably returns mostly false, except for some defaults? | |
'padding-all': 2, | |
} |
This file contains hidden or 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
(brief description / PR title) | |
Status: **Ready for Code Review** | |
Owners: **(Github @<name>s of all relevant sub-contractor employees)** | |
Reviewers: **(GitHub @<name>s of all reviewers)** | |
JIRA: [JIRA-ticket](https://mobify.atlassian.net/browse/JIRA-ticket) | |
## Changes | |
- (change1) | |
This file contains hidden or 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
{ | |
"stats": [ | |
{ | |
"name": "speedindex", | |
"budget": 1000, | |
"points": [ | |
{ | |
"id": 1, | |
"datetime": "20111001", | |
"value": 1000, |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.c-component { | |
$component__size: 16px; | |
font-size: $component__size; | |
} |
This file contains hidden or 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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@function foo($a: 1) { | |
@return $a; | |
} | |
.bar-1 { |
NewerOlder