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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks |
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
const __flattenReducer = (result,value,valueIndex,arr)=>{ | |
if(value instanceof Array){ | |
return value.reduce(__flattenReducer,result); | |
}else{ | |
result.push(value); | |
return result; | |
} | |
}; | |
const flatten = function(arr){ |
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
require('babel-core/register'); | |
var gulp = require('gulp'); | |
var git = require('gulp-git'); | |
var webpack = require('webpack'); | |
var WebpackDevServer = require('webpack-dev-server'); | |
var shell = require('gulp-shell'); | |
var os = require('os'); | |
var open = require('gulp-open'); | |
var gp_prompt = require('gulp-prompt'); | |
var runSequence = require('run-sequence'); |
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 { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
NewerOlder