NI-Lab.

nilog:

← 前の日 2015-11-08 次の日 →
← 一年前 一年後 →
Twitter (2015-11-08)
ほんのひと月前には $ npm install -g babel で良かったのになぁ。

[ヅ] Babel をインストールして ECMAScript 6 のシンプルなコードを試す (2015-10-02) http://www.nilab.info/z3/20151002_01_babel_ecma_script_6_hello_world.html
[t] 2015-11-08 13:44:31
関連するかも情報
コマンドラインから使うには babel-cli パッケージをインストールすればOK

$ npm install -g babel-cli

$ babel --version
6.1.2 (babel-core 6.1.2)
[t] 2015-11-08 13:43:46
ほんのひと月前には $ npm install -g babel で良かったのになぁ。

[ヅ] Babel をインストールして ECMAScript 6 のシンプルなコードを試す (2015-10-02) http://www.nilab.info/z3/20151002_01_babel_ecma_script_6_hello_world.html
[t] 2015-11-08 13:44:31
“SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode”
[t] 2015-11-08 13:56:37
名古屋の天気(雨)
降水強度: 5.25(mm/h)
2015年11月08日 14時00分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663218659544817669/photo/1
名古屋の天気(雨) 降水強度: 5.25(mm/h)  2015年11月08日 14時00分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 13:57:05
[話題急上昇中ワード]
1. 桐生第一
2. サンジャポ
3. 東日本女子駅伝
4. レセプト債
5. サトノダイヤモンド
6. 雨
7. フィギュアスケートTV
8. 柏木湊太
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2015-11-08 14:05:04
“Sometimes this is not acceptable; many want their module to be an instance of some class.”

Modules Node.js v5.0.0 https://nodejs.org/api/modules.html
[t] 2015-11-08 14:07:41
Node.js では class に module.exports が使えない?

“Sometimes this is not acceptable; many want their module to be an instance of some class.”
[t] 2015-11-08 14:07:51
module.exports = Hoge って class 名を指定したら、require したほうでは Function になってた。
[t] 2015-11-08 14:09:29
require の書き方をまちがえてた。 class は Function なのね。

var Hoge = require("./hoge");
var h = new Hoge();
[t] 2015-11-08 14:16:06
名古屋の天気(雨)
降水強度: 3.63(mm/h)
2015年11月08日 15時15分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663233757520879616/photo/1
名古屋の天気(雨) 降水強度: 3.63(mm/h)  2015年11月08日 15時15分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 14:57:04
class 構文は strict モードでないと使えない。

[ヅ] Node.js v5.0.0 で ECMAScript 2015 (ES6) の class を使ってみる (2015-11-08) http://www.nilab.info/z3/20151108_01_node_js_es6_class.html
[t] 2015-11-08 15:11:05
名古屋の天気(雨)
降水強度: 5.75(mm/h)
2015年11月08日 15時55分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663248855597584385/photo/1
名古屋の天気(雨) 降水強度: 5.75(mm/h)  2015年11月08日 15時55分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 15:57:04
名古屋の天気(雨)
降水強度: 9.75(mm/h)
2015年11月08日 17時50分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663263956669075456/photo/1
名古屋の天気(雨) 降水強度: 9.75(mm/h)  2015年11月08日 17時50分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 16:57:04
[話題急上昇中ワード]
1. アンズチャン
2. 市立船橋
3. カゼノコ
4. ゴールドアクター
5. 勝昭
6. パウリーニョ
7. 鉄腕ダッシュ
8. 御嶽海
http://searchranking.yahoo.co.jp/realtime_buzz/ #buzzbot
[t] 2015-11-08 17:05:04
名古屋の天気(雨)
降水強度: 3.88(mm/h)
2015年11月08日 18時50分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663279055370752001/photo/1
名古屋の天気(雨) 降水強度: 3.88(mm/h)  2015年11月08日 18時50分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 17:57:04
今日の名古屋の天気 ☂
11/8(日) 雨
降水確率
18-24時:80%
ウェザーマップ気象情報 http://www.weathermap.co.jp/forecast/
#天気bot #bot #052tenki #nagoya #aichi #tenki #tenki_aichi
[t] 2015-11-08 18:00:03
明日の名古屋の天気 ☂☁
11/9(月) 雨のちくもり
予想最高気温:21℃
予想最低気温:16℃
降水確率
00-06時:90%
06-12時:60%
12-18時:20%
18-24時:20%
#天気bot #bot #052tenki #nagoya
[t] 2015-11-08 18:05:03
名古屋の天気(雨): やや強い雨
降水強度: 13.50(mm/h)
2015年11月08日 18時50分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663294159164280832/photo/1
名古屋の天気(雨): やや強い雨 降水強度: 13.50(mm/h)  2015年11月08日 18時50分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 18:57:05
(*ノω・*)テヘ マチガエテタ

近代ナマズ → 近大ナマズ
近代マグロ → 近大マグロ

近畿大学を略して近大。

https://twitter.com/nilab/status/663138140060712960
[t] 2015-11-08 19:09:41
名古屋の天気(雨)
降水強度: 1.45(mm/h)
2015年11月08日 19時50分の雨雲 http://map.yahoo.co.jp/maps?layer=weather&v=3&lat=35.1707221&lon=136.881487&z=10 #雨雲bot #bot http://twitter.com/nilab/status/663309253310939136/photo/1
名古屋の天気(雨) 降水強度: 1.45(mm/h)  2015年11月08日 19時50分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 19:57:04
2015年11年08日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN