Suppose you're opening an issue and there's a lot noisey logs that may be useful.
Rather than wrecking readability, wrap it in a <details>
tag!
<details>
Summary Goes Here
/** | |
* Term: schools.address.state | |
* | |
* Stores the state abbreviation for a school's location. | |
*/ | |
module.exports = { | |
table: 'school', // Entity table in DB | |
// `?state=tx` is supported (or would throw) here | |
filter: function(qb, value) { |
export default { | |
... | |
resolve: { | |
root: [ | |
path.join(process.cwd(), "lib"), | |
], | |
}, | |
... |
class HappyFactory { | |
constructor(message) { | |
return Promise.resolve(`${message} there!`); | |
} | |
} | |
new HappyFactory("Howdy").then(::console.log); | |
// "Howdy there!" |
var _ = require("lodash"); | |
var path = require("path"); | |
var env = process.env.NODE_ENV || "development"; | |
var debug = ["development", "test"].indexOf(env) !== -1; | |
var defaults = { | |
cache: debug, | |
debug: debug, |
{ | |
"ecmaFeatures": { | |
"arrowFunctions": true, | |
"binaryLiterals": false, | |
"blockBindings": true, | |
"classes": true, | |
"defaultParams": true, | |
"destructuring": true, | |
"forOf": false, | |
"generators": true, |
import assign from "object-assign"; | |
import Flux from "flummox"; | |
import React from "react"; | |
export default React.createClass({ | |
displayName: "FluxContainer", | |
contextTypes: { | |
flux: React.PropTypes.instanceOf(Flux), | |
}, |
/** | |
* @jsx React.DOM | |
*/ | |
var React = require('react'); | |
var Router = require('react-router'); | |
var Routes = Router.Routes; | |
var Route = Router.Route; | |
var DefaultRoute = Router.DefaultRoute; |
FROM ubuntu:14.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
ENV HOME /root | |
RUN apt-get -qq -y update | |
RUN apt-get -qq -y install software-properties-common | |
RUN apt-add-repository -y ppa:ansible/ansible | |
RUN apt-get -qq -y update | |
RUN apt-get -qq -y install ansible |
var fs = require('fs'); | |
var jstransform = require('jstransform'); | |
var path = require('path'); | |
var js = require.extensions['.js']; | |
module.exports = function(visitors) { | |
visitors = visitors.reduce(function(visitors, visitor) { | |
return visitors.concat(visitor.visitorList); | |
}, []); |