You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Presentation Details AngularJS And The Computer Science Of JavaScript Created by undefined Add a short description of your presentation. Formatting is supported. Loading
2012年3月23日金曜日 Source Maps を使ってみた Source Mapsは簡単にいうと、結合/圧縮されたJavaScriptファイルの元ファイルを自動的に読み込んで、開発を楽にしてくれる仕組みです。 ▼まず、Closure Compilerをダウンロード https://developers.google.com/closure/compiler/docs/gettingstarted_app 現時点では Source Maps に対応している唯一の圧縮ツールが Closure Compiler です。 ▼JS圧縮とマップファイル生成 ここでjQueryを使いました。 java -jar ../compiler-latest/compiler.jar \ --js jquery-1.7.2.js \ --create_source_map ./jquery-cl
当初の期待としては、CoffeeScriptをコンパイルしたJavaScriptにSourceMapで元のCoffeeScriptヒモ付てそのままデバッグ出来るようになんないのかなー??て思ったんだけどなんか無理そうでした(結論)。 で、調査しはじめてみたんだけど全然情報なくてビビった。 CSS Selector Profiler, Source Mapping and Software Rendering « Peter Beverloo に情報がだいぶまとまってて超助かりました。 なんかWebKitの中の人なんじゃないのレベルで色々書かれててびっくりします。 Source Map Revision 3 Proposal - Google ドキュメント をざらーっと眺めてみたところで、JavaScript以外の言語にはなんか対応してなさそうだなーっていうのが分かってがっくり。字句解析した
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く