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

Closed
tkashi opened this Issue May 17, 2013 · 0 comments

Comments

Projects
None yet
3 participants
@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