タグ

2014年4月1日のブックマーク (4件)

  • [Bower] bower_components ディレクトリはgitで管理すべきか問題 - Qiita

    bowerはgemやcomposerと違って*.lockファイルがありません。 bowerを利用した際に実ファイルがbower_componentsディレクトリに保存されますが、 gitで管理すべきか?という話。 bower_components は管理しなくても良い 結論を言うと 管理しなくてよい です。 しかし実際bowerを使っていると、たまに依存が解決できない時があります。 Unable to find a suitable version for jquery, please choose one: 1) jquery#>=1.8.0 <2.1.0 which resolved to 2.0.3 and has bootstrap#2.3.2 as dependants 2) jquery#>=1.7 which resolved to 2.1.0 and has bootstr

    [Bower] bower_components ディレクトリはgitで管理すべきか問題 - Qiita
    ngyuki
    ngyuki 2014/04/01
    bower でコンフリクトしたときに resolutions に自動で追記
  • 2014年エイプリルフール跡地

    ► 2024 (1) ► 4月 (1) ► 2023 (2) ► 4月 (1) ► 3月 (1) ► 2022 (6) ► 12月 (1) ► 9月 (1) ► 7月 (1) ► 5月 (1) ► 3月 (1) ► 1月 (1) ► 2021 (1) ► 12月 (1) ► 2020 (4) ► 12月 (1) ► 11月 (1) ► 5月 (1) ► 3月 (1) ► 2019 (11) ► 12月 (2) ► 7月 (2) ► 5月 (2) ► 4月 (2) ► 3月 (1) ► 2月 (1) ► 1月 (1) ► 2018 (15) ► 12月 (3) ► 11月 (6) ► 10月 (2) ► 9月 (2) ► 3月 (1) ► 1月 (1) ► 2017 (17) ► 12月 (2) ► 11月 (1) ► 10月 (1) ► 9月 (2) ► 8月 (2) ► 7月 (1) ►

    ngyuki
    ngyuki 2014/04/01
    やばい
  • Promiseアンチパターン - くじら公園

    Promise Anti-patternsを翻訳させて頂きました。著者のtaoofcodeから許可を頂いて翻訳、投稿しています。 Promiseは一度理解してしまえば簡単だが、いくつか頭を抱えさせるパターンがある。ここにあるのは私が経験したいくつかのアンチパターンだ。 ネストされたPromise 君は複数のPromiseをネストする: loadSomething().then(function(something) { loadAnotherthing().then(function(another) { DoSomethingOnThem(something, another); }); }); 君がこれをする理由は、両方のPromiseの結果で何かをする必要があるからだ。then()は一つ前のPromiseの結果しかコールバックに渡せないのでここでチェインを用いることはできない。 だが

    Promiseアンチパターン - くじら公園
  • Programmer mind

    ーーーーーーーーーーーーーーーーーーーーーーー schoo WEB-campusは「WEBに誕生した、学校の新しいカタチ」。 WEB生放送の授業を無料で配信しています。 ▼こちらから授業に参加すると、先生への質問や、ユーザーとのチャット、資料の拡大表示等が可能です。 https://schoo.jp/class/164/room ーーーーーーーーーーーーーーーーーーーーーーー

    Programmer mind