Skip to content

Commit b65ebd0

Browse files
authored
ObservableObject is now a standalone module
1 parent a2752aa commit b65ebd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coconut/react/View.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class ViewBase extends NativeComponent<{ revision: Int }, {}, ImplicitContext> {
133133
var actual = Reflect.copy(attr);
134134

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

0 commit comments

Comments
 (0)