Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit cee36fb

Browse files
author
Scott J. Miles
committed
need explicit path observers now
1 parent 3fd5c18 commit cee36fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-property-editor.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
this.appendChild(this.editor);
2525
// bind propertyValue to property
2626
var p = this.meta.property;
27-
this.bindProperty('propertyValue', p.obj, p.name);
27+
this.bindProperty('propertyValue', new PathObserver(p.obj, p.name));
2828
// bind this.editor.value to propertyValue
2929
// (imperative form of <editor value="{{editorValue}}">)
30-
this.editor.bindProperty('value', this, 'propertyValue');
30+
this.editor.bindProperty('value', new PathObserver(this, 'propertyValue'));
3131
// update editor meta from property
3232
this.updateEditorMeta();
3333
},

0 commit comments

Comments
 (0)