You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
In my mojit I have two actions: "index" and "lazy", where "index" will invoke "lazy" from binder. The mojito-data-addon is included but in "lazy" action, when calling ac.data.set(), there is an error:
In my mojit I have two actions: "index" and "lazy", where "index" will invoke "lazy" from binder. The mojito-data-addon is included but in "lazy" action, when calling ac.data.set(), there is an error:
TypeError: Object # has no method 'set'
Apparently it is because mojito passing a
data
property in invoke command, and it make data addon failed to init itself.https://github.com/yahoo/mojito/blob/develop/lib/app/autoload/mojit-proxy.client.js#L204
https://github.com/yahoo/mojito/blob/develop/lib/app/addons/ac/data.common.js#L25
I created a simple app the demo the issue:
https://git.corp.yahoo.com/yiwu/demo-lazyload-issue
The text was updated successfully, but these errors were encountered: