0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jasmineでライブラリを意図した順番で読み込むには

Last updated at Posted at 2013-08-26

私の場合はbackbone.jsの前にunderscore.jsを読み込みたかった。

結論としては、すべてのライブラリを public/javascripts に入れて spec/javascripts/support/jasmine.yml で読み込む順番を指定する。

jasmine.yml
src_files:
    - public/javascripts/jquery-1.10.2.js
    - public/javascripts/underscore.js
    - public/javascripts/backbone.js
    - public/javascripts/**/*.js

これでOK。


ブログやってます:PAPA-tronix !

0
0
0

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?