Skip to content

Instantly share code, notes, and snippets.

View radi-cho's full-sized avatar

Radi Cho radi-cho

View GitHub Profile
// 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: 16,
// font family with optional fallbacks
{
"compileOnSave": true,
"compilerOptions": {
"watch": true,
"target": "es5",
"outFile": "demo.js",
"inlineSourceMap": true,
"removeComments": true
}
}
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import { Button } from 'react-bootstrap';
import _ from 'lodash';
import * as teacherActions from '../../actions/teachers';
import * as classActions from '../../actions/classes';
import { isTeacherFetching, getTeacher } from '../../reducers/teachers';
{
"presets": ["react", ["env", {
"targets": {
"browsers": [
"Firefox > 31",
"Chrome > 37"
]
},
"modules": false
}], "stage-0"]
@radi-cho
radi-cho / webpack.config.js
Last active May 27, 2017 08:06
Webpack configuration file template
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/index.js",
output: {
path: __dirname + "/js",
filename: "index.min.js"
alert("something");
.switch input:checked+span {
background-color: #5d9cec;
border-color: #5d9cec;
transition: all .5s;
}
.switch.switch-lg span {
width: 50px;
height: 25px;
}
.switch span {
.switch.switch-lg span {
width: 50px;
height: 25px;
}
.switch.switch-lg span:after {
height: 23px;
width: 23px;
}
.switch * {
cursor: pointer;
}
.switch input:checked+span {
background-color: #5d9cec;
border-color: #5d9cec;
transition: all .5s;
}
.switch span:after {
content: "";
position: absolute;
background-color: #fff;