Skip to content

Commit

Permalink
ObservableObject is now a standalone module
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinresol authored Oct 17, 2021
1 parent a2752aa commit b65ebd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coconut/react/View.hx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class ViewBase extends NativeComponent<{ revision: Int }, {}, ImplicitContext> {
var actual = Reflect.copy(attr);

for (f in Reflect.fields(actual)) {
var o:Observable.ObservableObject<Dynamic> = Reflect.field(actual, f);
var o:ObservableObject<Dynamic> = Reflect.field(actual, f);
if (!Reflect.isFunction(o.getValue))
Reflect.setField(actual, f, Observable.const(o));
}
Expand Down Expand Up @@ -176,4 +176,4 @@ private class Binding {//TODO: try to make this an Invalidatable and use the act
@:keep function toString():String
return 'Binding';
#end
}
}

0 comments on commit b65ebd0

Please sign in to comment.