Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: samples/swarm/SwarmViews.dart

Issue 12212200: "Reverting 18531" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/swarm/App.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/SwarmViews.dart
diff --git a/samples/swarm/SwarmViews.dart b/samples/swarm/SwarmViews.dart
index d134172788d58aac1d98ae8b78e2cf259b18c698..cbbc10b1d4d908f502294b42bf64bef2ce7a64bf 100644
--- a/samples/swarm/SwarmViews.dart
+++ b/samples/swarm/SwarmViews.dart
@@ -169,20 +169,20 @@ class FrontView extends CompositeView {
// Create the new story view.
storyView = new StoryContentView(swarm, item);
- Timer.run(() {
+ window.setTimeout(() {
_animateDataSourceToMinimized();
sliderMenu.addClass('hidden');
// Make the fancy sliding into the window animation.
- Timer.run(() {
+ window.setTimeout(() {
storyView.addClass('hidden-story');
addChild(storyView);
- Timer.run(() {
+ window.setTimeout(() {
storyView.removeClass('hidden-story');
- });
+ }, 0);
headerView.endTransitionToStoryView();
- });
- });
+ }, 0);
+ }, 0);
}
}
« no previous file with comments | « samples/swarm/App.dart ('k') | samples/swarm/Views.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698