How to migrate dojo.connect code from Dojo 1.3.1 to 1.9.3

梦想的初衷 提交于 2019-12-02 03:50:47

This part of Dojo migration guide should help you out.

As on what this does -- you're pushing a (Dojo) connect even handler, that would execute an onLoad method of dialogWidget after newDialog._fadeIn fires onEnd event. What for -- I can't really say, since I don't know the context this one is run in. Also since it accesses private property of dialogWidget, I wouldn't be surprised that this would break during update.

Hope this helps.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!