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

Unified Diff: samples/swarm/App.dart

Issue 11361190: a === b -> identical(a, b) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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 | « runtime/vm/snapshot_test.dart ('k') | samples/swarm/BiIterator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « runtime/vm/snapshot_test.dart ('k') | samples/swarm/BiIterator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698