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
// 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 |
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
Show hidden characters
{ | |
"compileOnSave": true, | |
"compilerOptions": { | |
"watch": true, | |
"target": "es5", | |
"outFile": "demo.js", | |
"inlineSourceMap": true, | |
"removeComments": true | |
} | |
} |
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
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'; |
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
{ | |
"presets": ["react", ["env", { | |
"targets": { | |
"browsers": [ | |
"Firefox > 31", | |
"Chrome > 37" | |
] | |
}, | |
"modules": false | |
}], "stage-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
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" |
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
alert("something"); |
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
.switch input:checked+span { | |
background-color: #5d9cec; | |
border-color: #5d9cec; | |
transition: all .5s; | |
} | |
.switch.switch-lg span { | |
width: 50px; | |
height: 25px; | |
} | |
.switch span { |
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
.switch.switch-lg span { | |
width: 50px; | |
height: 25px; | |
} | |
.switch.switch-lg span:after { | |
height: 23px; | |
width: 23px; | |
} |
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
.switch * { | |
cursor: pointer; | |
} |
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
.switch input:checked+span { | |
background-color: #5d9cec; | |
border-color: #5d9cec; | |
transition: all .5s; | |
} | |
.switch span:after { | |
content: ""; | |
position: absolute; | |
background-color: #fff; |