LoginSignup
3
3

More than 5 years have passed since last update.

gas で Underscore を使いたいとき

Posted at

gas でオープンソースのライブラリを使う

やり方

  1. スクリプトエディタ画面を開く。
  2. [リソース] > [ライブラリ] を選択。
  3. [ライブラリを追加] 欄に導入したいライブラリのプロジェクトキーを入力し追加する(※1)。 識別子はそのままで OK。
  4. [保存]を選択する。
  5. コードの冒頭で利用の宣言する。
var _ = Underscore.load();

(※1) UnderscoreGAS ライブラリのプロジェクトキーは MiC3qjLYVUjCCUQpMqPPTWUF7jOZt2NQ8 を使う

References

3
3
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3