rodikh/angular-json-editor

watch on schema fails if promise is reassigned

krzepa opened this issue · 1 comments

In watch function on schema property new value should be checked if it promise or not and only if not current code should be executed.

updated in v0.3.0, all values are passed through $q.when(). which either resolves if the value is an object, or promises if the value is a promise.