fix(examples): add a couple entrypoints, adjust pubspec, fix change detector bug in Dart

This commit is contained in:
Sigmund Cherem
2015-07-14 16:04:49 -07:00
committed by vsavkin
parent f25e43fab8
commit b03560b670
4 changed files with 71 additions and 12 deletions

View File

@ -198,7 +198,9 @@ Error makeTypeError([String message = ""]) {
const _NAN_KEY = const Object();
// Dart can have identical(str1, str2) == false while str1 == str2
// Dart can have identical(str1, str2) == false while str1 == str2. Moreover,
// after compiling with dart2js identical(str1, str2) might return true.
// (see dartbug.com/22496 for details).
bool looseIdentical(a, b) =>
a is String && b is String ? a == b : identical(a, b);