Index: test/data/input/if_fragments2_test.html |
diff --git a/test/data/input/if_fragments2_test.html b/test/data/input/if_fragments2_test.html |
index 2ec34483bff622188edf3e7c0675a7f35e475755..c8ac2d91e89e26ae13377c4e6bb0e0fc3daa8a6f 100644 |
--- a/test/data/input/if_fragments2_test.html |
+++ b/test/data/input/if_fragments2_test.html |
@@ -22,14 +22,13 @@ BSD-style license that can be found in the LICENSE file. |
</template> |
<script type="application/dart"> |
import 'dart:html'; |
- import 'package:web_ui/watcher.dart'; |
- var value = '-'; |
- bool cond = true; |
+ import 'package:web_ui/observe.dart'; |
+ @observable var value = '-'; |
+ @observable bool cond = true; |
main() { |
window.setTimeout(() { |
cond = false; |
- dispatch(); |
- window.setTimeout(() => window.postMessage('done', '*'), 0); |
+ window.setImmediate(() => window.postMessage('done', '*')); |
}, 0); |
} |
</script> |