2013-07-30

09:48

jottit で tombloo のコード読んでいるけど css の設定できないので不便。とにかく pre の表示がダメ。userstylesheet で見易いように変更しているけど、なんか間違っている気がする。じゃあ jottit じゃなくて、何を使えばいいんだろ

09:50

githubwiki って wiki だけ使うのって出来るのかな。空のリポジトリ作って、みたいな感じかな。

bind 13:13

Function.prototype.bind - JavaScript | MDN

Function.prototype.bind is an ECMAScript 5 addition; as such it may not be present in other implementations of the standard. You can work around this by inserting the following code at the beginning of your scripts, allowing use of bind in implementations which do not natively support it.

if(!function(){}.bind){
  Function.prototype.bind = function(){
    var me = this
    , shift = [].shift
    , he = shift.apply(arguments)
    , ar = arguments
    return function(){
      return me.apply(he, ar);
    }
  }
}

13:15

なんか、メチャメチャ、スマートなコードだな。

13:26

call - JavaScript | MDN

もし、関数が non-strict mode のコードで、null か undefined が指定された場合は this の値は global object になります。

18:19

http://suwaowa.blogspot.jp/search?updated-max=2013-07-31T00:00:00%2B09:00

隣島へ契約に

契約、またキレかけてなんとか踏みとどまる。

ビール呑みたい

ビール呑みたい

かえる

かえった

新居の窓<海

18:20

ケンマット、たたかっているな。

18:21

海、いいなあ。