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

h5.core.data.createObservableItemでitemを作った時、そのchangeイベントにdependを持つプロパティが含まれない #206

Closed
tkashi opened this issue May 17, 2013 · 0 comments
Assignees
Labels
bug
Milestone

Comments

@tkashi
Copy link

@tkashi tkashi commented May 17, 2013

var item = h5.core.data.createObservableItem({
    v1: {
        defaultValue: 'default'
    },
    v2: {
        depend: {
            on: 'v1',
            calc: function() {
                return this.get('v1');
            }
        }
    }
});

などのようなときは、item.set('v1', 'test')とするとchangeイベントでv1, v2の両方が現れてほしい。
しかしv1しか現れず、v2を含むイベントは発生しない(DataModelの仕様と異なる)

@ghost ghost assigned fukudayasuo May 20, 2013
fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue May 22, 2013
@simdy simdy closed this May 22, 2013
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
3 participants
You can’t perform that action at this time.