Fire 'appwidgetready' regardless sequence of executing injection scripts
authorYunchan Cho <yunchan.cho@samsung.com>
Mon, 24 Jun 2013 05:22:29 +0000 (14:22 +0900)
committerYunchan Cho <yunchan.cho@samsung.com>
Wed, 26 Jun 2013 13:37:20 +0000 (22:37 +0900)
commitdd76d564910eda0f02c16a4d45a189cc3287c843
treebcd5c1754f1e8e2e34bd0fcc1c918d7f15c6adcf
parent5924439a68126cd53cdef21097ba60d009afba01
Fire 'appwidgetready' regardless sequence of executing injection scripts

[Issue#] N/A
[Problem] If injection script was already executed before loading main resource of box/pd,
          'appwidgetready' event on the main resource is not fired.
[Cause] Generally the injection script fires 'appwidgetready' event,
        if it is executed after loading main resource of box/pd.
        However, in this case, the injection scripts didn't fire 'appwidgetready' event.
[Solution] For fixing this bug, injections script is modified
           to fire 'appwidgetready' event even in this case.

Change-Id: I75a4174a6753550e8e3ec3df150e3adb86bcc76f
src/Core/View/injection.js