LoginSignup
0
0

More than 5 years have passed since last update.

requireで新たなファイルを読み込む場合Project Cleanが必要

Last updated at Posted at 2012-03-26

新たにhoge.jsというファイルを読み込んだ場合、"Script Error = Couldn't find module: hoge."というエラーが出る。一度ProjectをCleanすればOK

require.js
require("hoge");

また以下のように、新たなファイル"images/foo.png"を追加して読み込んだ先で表示させても反映されない。これも一度ProjectをCleanすればOK

hoge.js
var hoge = Ti.UI.createView({
    backgroundImage:"images/foo.png"
});
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