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
.gallery-grid-wrapper p.gallery-caption-content { | |
text-align: center; | |
} |
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
// Expanding on a conversation about being terse with ES5 and ES6 functions on Twitter w/ @podrazque | |
// Being terse isn't inherently bad but it is important to think about how other developers will infer and understand what was written. | |
////// | |
// Example of a terse, one line function using a ES6 fx expression w/ arrows and a implicit return. | |
const objToArray = (data) => Object.keys(data).map((key) => data[key]) | |
// See below for overview of some different function usage w/ ES5 & ES6 | |
const magic = 'poof'; |
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
// Babel Deps | |
"@babel/core": "7.1.0", | |
"@babel/plugin-proposal-class-properties": "^7.0.0", | |
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", | |
"@babel/plugin-transform-runtime": "^7.0.0", | |
"@babel/preset-env": "7.1.0", | |
"@babel/preset-react": "7.0.0", | |
"babel-core": "7.0.0-bridge.0", | |
"babel-eslint": "8.0.1", | |
"babel-jest": "23.6.0", |
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
(function ( define ) { | |
'use strict'; | |
define([], function () { | |
var RequestService = function ( $http, $q ) { | |
// Return dummy data for now | |
return { |