Index: samples/swarm/App.dart |
diff --git a/samples/swarm/App.dart b/samples/swarm/App.dart |
index 46a4679a1208a45d047ede6b1cead5086a7b6a83..ee65dbcaf54d78c7e1dd4c804a19a4d231ab9939 100644 |
--- a/samples/swarm/App.dart |
+++ b/samples/swarm/App.dart |
@@ -64,7 +64,7 @@ class App { |
final splash = document.query("#appSplash"); |
// Delete it if found, but it's okay for it not to be -- maybe |
// somebody just didn't want to use our splash mechanism. |
- if (splash !== null) { |
+ if (splash != null) { |
splash.remove(); |
} |
} |
@@ -75,7 +75,7 @@ class App { |
*/ |
bool swapAndReloadCache() { |
DOMApplicationCache appCache = window.applicationCache; |
- if (appCache.status !== DOMApplicationCache.UPDATEREADY) { |
+ if (!identical(appCache.status, DOMApplicationCache.UPDATEREADY)) { |
return false; |
} |