Skip to content

this.own, this.ownWithOrgで作成した関数が戻り値を返さない #253

@fukudayasuo

Description

@fukudayasuo

コントローラ、ロジックの、ownを使って作成した関数を呼び出した時に、戻り値が返ってこない。ownWithOrgも同様。

function f1() {
    return 1;
}
h5.core.controller('body', {
    __name: 'A',
    __ready: function() {
        var ret = this.own(f1)(); // undefined
    }
});

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions