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
constructor(config) { | |
super(); | |
this.logger = log.getLogger('Keyclock'); | |
if (config.logLevel) { | |
this.logger.setLevel(config.logLevel); | |
} | |
this.config = config; | |
const {path, ...url} = this.config.url; |
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
renderCell(advantage, index) { | |
if (advantage) { | |
return ( | |
<td className={`tariffs-table__td tariffs-table__tariff-${index + 1}`} key={index}> | |
{advantage ? advantage === true ? <img className="tariffs-table__img" src={plusImage} alt="" /> : advantage : null} | |
</td> | |
); | |
} | |
} |
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
Без исполнения. | |
………………….. | |
MT199 | |
Date/Time = 03/05/18 | |
:20:E100180503000701 |
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 courseQuery = gql`query($courseFlowId:Int, $userId: Int) { | |
courseFlow(id:$courseFlowId){ | |
id, | |
dateStart, | |
course { | |
name, | |
id, | |
}, | |
tariffs{ | |
id, |
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
1) | |
items.map(this._render) | |
_render() { | |
// this недоступен | |
} | |
2) | |
items.map(() => {// this доступен}) |
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
render() { | |
<div className={classPanel} style={{ backgroundColor: this.props.color, cursor: 'pointer' }} onClick={() => { | |
this.itemClick(); | |
this.props.onClickAddColor(this.state.isClicked); | |
}}> | |
<span className={classIcon}>+</span> | |
</div> | |
); |
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
export default class ColorItem extends Component { | |
addColorClickHandler = () => { | |
this.itemClick(); | |
this.props.onClickAddColor(this.state.isClicked); | |
} | |
render() { | |
<div className={classPanel} style={{ backgroundColor: this.props.color, cursor: 'pointer' }} onClick={this.addColorClickHandler}> | |
<span className={classIcon}>+</span> |
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
$x = $tomorrow - $now; | |
$y = sprintf('%02d:%02d:%02d', $x / 3600, ($x % 3600) / 60, $x % 60); | |
$lot_time_remaining = date("H:i:s", $y); |
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
Священная утренняя тишина | |
Если есть один секрет долговечных отношений, то он такой: первый час после просыпания нужно молчать. | |
Многие люди приходят к пониманию важности этого секрета по-своему. Кто-то просит не говорить с ним до первой чашки кофе, кто-то до прочтения первой газеты, кто-то до пробежки с собакой. Но все это вариации одного и того же явления: после просыпания организму лучше наедине с самим собой, без отвлечения. Это позволяет собраться с мыслями, накопить жизненных сил, поставить мозги на привычные рельсы - и только после этого можно начинать жить день. | |
Это справедливо для любых партнеров в любых сочетаниях. Даже для безногих геев-веганов. |
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
'use strict' | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const production = process.env.NODE_ENV === 'production'; | |
const loaders = [ | |
{ | |
test: /\.(js|jsx)$/, | |
loader: 'babel', | |
include: path.join(__dirname, 'src'), |