Skip to content

Instantly share code, notes, and snippets.

module.exports = (robot) ->
SPACE_KEY = '!! HERE IS YOUR SPACE KEY !!'
BACKLOG_API_KEY = '!! HERE IS YOUR BACKLOG API KEY !!'
robot.hear ///https:\/\/#{SPACE_KEY}\.backlog\.jp\/view\/([a-zA-Z0-9_\-]+)#comment\-(\d+)///, (msg) ->
commentUrl = msg.match[0]
issueIdOrKey = msg.match[1]
commentId = msg.match[2]
@foo9
foo9 / mecab_hiragana.md
Created July 27, 2015 06:50
mecabひらがな変換
$ echo "2015/07/27: 明日は晴れだ" | mecab -Oyomi | nkf -w --hiragana
2015/07/27: あしたははれだ
// 初期描画が発生する直前に一度実行される
// ComponentがDOMツリーに追加される前
componentWillMount()
// 初期描画が発生した直後に一度実行される
// ComponentがDOMツリーに追加された状態
// DOMに関わる初期化処理など
componentDidMount()
// propsが更新されると実行される