學習經驗

  • 學一個新專案, 架環境, 1~2天沒回顧就會忘
  • 學習新事物, 有些沒有必要當下了解的就記起來(歸類為暫時忽略)
  • 語言特有符號是或表示式暫時記不住可先用gitbook記起來, 避免之後查半天

研究進度

Toturial

https://www.youtube.com/watch?list=PLOETEcp3DkCoNnlhE-7fovYvqwVPrRiY7&feature=player_embedded&v=U7NYTKgkZgo http://weblogs.asp.net/dwahlin/creating-a-typescript-workflow-with-gulp

暫時忽略

Question

  1. compile es6 to es5 using typesript compiler ?
  2. compiler es6 to es5 need .d.ts file ? (e.g. es6-shim.d.ts)
  3. use es6-shim.js ->
    • let browser support es6 func? but i compile es6 to es5 !!!(or compiler es6 to es5 also need es6-shim.js? )
    • use es6+angular only?(never compiler es6 to es5)
  4. es6-shim.js use for that developer want to direct use es6 on browser ?
  5. es6-shim.d.ts use for tsCompiler compile to es6 ?
  6. many binding -> difficult to test ?
  7. install youtube : why AMD 's author st plugin
  8. 設定sudo 密碼
  9. test if without using bootstrap to inject service, then using provider to inject that service in component level still work ?
  10. angular 官網的教學, import from自動從node_modules載入相關檔案, 但youtube教學卻能從typings資料夾導入 Reference

  11. orderSys 安裝native systemjs 引入給html不能用, angular2也是一樣

  12. after compile to es5, angular 2 still need es6-shim.js to support the the needed functionality on browser ?

============= [ 1 ] Typescript

why System.import('app') come from src ??

import . from . equal to require https://github.com/Microsoft/TypeScript/issues/2262

https://github.com/Microsoft/TypeScript/issues/247

see "mhegazy commented on Sep 1" section in above url

temp KP