Tip 1657 Printable Monobook Previous Next created June 28, 2010 · complexity basic · author Sternebrau · version 7.0 This tip describes a simple way to automatically compile Javascript files using Google Closure. The compiled results are saved to a different file, for example, filename.js saves as both filename.js and filename.min.js. The regular way[] Edit .js file Save .js file Link it in .html
http://d.hatena.ne.jp/Craftworks/20100908/1283941430 Vim からこのようなツールを利用する場合にはコンパイラプラグインを書くとより便利. 以下のプラグインはかなり手抜きだけど,まぁ最低限の機能は提供できていると思う. if exists("current_compiler") finish endif let current_compiler = "gjslint" if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=gjslint\ % CompilerSet errorformat= \%+P-----\ FILE\ \ :\ \ %f\ -----, \Line\ %l\\,\ %
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く