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

Commit

Permalink
need explicit path observers now
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott J. Miles committed Dec 17, 2013
1 parent 3fd5c18 commit cee36fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-property-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
this.appendChild(this.editor);
// bind propertyValue to property
var p = this.meta.property;
this.bindProperty('propertyValue', p.obj, p.name);
this.bindProperty('propertyValue', new PathObserver(p.obj, p.name));
// bind this.editor.value to propertyValue
// (imperative form of <editor value="{{editorValue}}">)
this.editor.bindProperty('value', this, 'propertyValue');
this.editor.bindProperty('value', new PathObserver(this, 'propertyValue'));
// update editor meta from property
this.updateEditorMeta();
},
Expand Down

0 comments on commit cee36fb

Please sign in to comment.