NI-Lab.

nilog:

← 前の日 2015-11-08 次の日 →
← 一年前 一年後 →
Twitter (2015-11-08)
#nowplaying GUTS! - 嵐 ♪
[t] 2015-11-08 12:36:44
関連するかも情報
听 ポンド
[t] 2015-11-08 12:33:29
#nowplaying GUTS! - 嵐 ♪
[t] 2015-11-08 12:36:44
CommonJS, AMD, require の代わりに。

「ES2015 からはこのモジュール化をするための専用の構文 export と import が使えるように」

2015 年の JavaScript と babel http://magazine.rubyist.net/?0050-ECMAScript2015
[t] 2015-11-08 12:38:07
Imports Syntax さっぱりわからない。。。

ECMAScript 2015 Language Specification – ECMA-262 6th Edition http://www.ecma-international.org/ecma-262/6.0/index.html#sec-imports http://twitter.com/nilab/status/663199622685261824/photo/1
Imports Syntax さっぱりわからない。。。  ECMAScript 2015 Language Specification – ECMA-262 6th Edition
元の画像を見る
[t] 2015-11-08 12:41:26
名古屋の天気(雨)
降水強度: 4.63(mm/h)
2015年11月08日 13時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/663203557491937280/photo/1
名古屋の天気(雨) 降水強度: 4.63(mm/h)  2015年11月08日 13時00分の雨雲  #雨雲bot #bot
元の画像を見る
[t] 2015-11-08 12:57:04
おひるごはんに蟹入り天津飯。 http://twitter.com/nilab/status/663203586482933760/photo/1
おひるごはんに蟹入り天津飯。
元の画像を見る
[t] 2015-11-08 12:57:11
RT @favlook:
@nilab 50 likes!おめでとうございます。 http://bit.ly/1lcwar8 時速14likes
[t] 2015-11-08 12:59:39
RT @aclog_bot:
@nilab 50favs! http://aclog.koba789.com/i/663138468302712836
[t] 2015-11-08 12:59:42
RT @kumanbot:
@nilab ティファニーで朝食を食べたいでふ
[t] 2015-11-08 12:59:45
@FlRSThikonya ( ´ ▽ ` )ノ
[t] 2015-11-08 12:59:59
Table 40 (Informative) — Import Forms Mappings to ImportEntry Records

ECMAScript 2015 Language Specification http://www.ecma-international.org/ecma-262/6.0/index.html#table-40
[t] 2015-11-08 13:05:44
Table 42 (Informative) — Export Forms Mappings to ExportEntry Records

ECMAScript 2015 Language Specification http://www.ecma-international.org/ecma-262/6.0/index.html#table-42
[t] 2015-11-08 13:06:12
ECMAScript 2015 (ES6) の import 構文。

「import myModule from "my-module.js"」

import - JavaScript | MDN https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Statements/import
[t] 2015-11-08 13:09:12
「default export で export した場合は、import する時に import の対象をブレース {……} で囲む必要はなく」

2015 年の JavaScript と babel の話 http://magazine.rubyist.net/?0050-ECMAScript2015
[t] 2015-11-08 13:11:54
Node.js v5.0.0 でもまだ import export は使えないのかな。

“SyntaxError: Unexpected token import”
[t] 2015-11-08 13:38:00
あれ。 babel パッケージだけじゃダメらしい。

$ npm install -g babel

$ babel
The CLI has been moved into the package `babel-cli`.

$ npm install -g babel-cli
[t] 2015-11-08 13:42:35
コマンドラインから使うには 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
2015年11年08日のnilogをすべて表示する

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

Web Services by Yahoo! JAPAN