タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

coffeescriptに関するrasta710のブックマーク (2)

  • 基本操作逆引きリファレンス - CoffeeScript

    操作逆引きリファレンス(CoffeeScript) Node.jsと、現在使われているほとんどのブラウザで共通して使えるメソッドや文法を、用途ごとにまとめて紹介します。 文字列 文字列を作る 文字列は" "または' 'で囲います。" "の中で"を使ったり、' 'の中で'を使うには、\でエスケープします。 "abc" 'abc' # 以下2つはどちらの書き方でも同じ意味 "I can't say \"no.\"" 'I can\'t say "no."' 文字列に式を埋め込む " "内では#{ }を使って、式や変数の値を埋め込むことができます。 "1 + 1 = #{1 + 1}" # => '1 + 1 = 2' 文字数を取得する 文字列.lengthは、文字列の文字数を返します。 "abcいろは".length # => 6 文字列を数値に変換する parseInt(文字列, 10)

  • CoffeeScript Source Maps ☃ Ryan Florence Online

    CoffeeScript Source Maps By Ryan Florence, published 2012-09-07 Michael Ficarra’s successful kickstarter to create a “better CoffeeScript compiler” is already paying some huge dividends to the backers with source maps. Debugging CoffeeScript, the most popular and strongest argument for not using it in the browser, is now 90% solved. Try it out yourself, what you’ll need: Google Chrome CoffeeScript

  • 1