Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
fukudayasuo opened this issue Nov 15, 2013 · 0 comments
Closed
Assignees
Labels
bug
Milestone

Comments

@fukudayasuo
Copy link

@fukudayasuo fukudayasuo commented Nov 15, 2013

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

function f1() {
    return 1;
}
h5.core.controller('body', {
    __name: 'A',
    __ready: function() {
        var ret = this.own(f1)(); // undefined
    }
});
fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Nov 15, 2013
@simdy simdy added the bug label Feb 25, 2014
@simdy simdy added this to the v1.1.9 milestone Feb 25, 2014
@simdy simdy closed this Feb 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.