Chromium Code Reviews| Index: lib/dom/src/native_DOMImplementation.dart |
| diff --git a/lib/dom/src/native_DOMImplementation.dart b/lib/dom/src/native_DOMImplementation.dart |
| index 61f9a4b50299a661df69efc8467de21fe9f8395f..751b5c3ec00e0ae4be6ab316b09e064c493157e8 100644 |
| --- a/lib/dom/src/native_DOMImplementation.dart |
| +++ b/lib/dom/src/native_DOMImplementation.dart |
| @@ -105,3 +105,11 @@ class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String, |
| int get length() => Maps.length(this); |
| bool isEmpty() => Maps.isEmpty(this); |
| } |
| + |
| +get _printClosure => (s) { |
| + try { |
| + window.console.log(s); |
| + } on Dynamic catch(_) { |
| + Utils_print(s); |
|
podivilov
2012/08/30 15:43:47
While you are here, could you please make Utils_pr
Anton Muhin
2012/08/30 16:12:28
Well spotted, absolutely, it should go into Utils
|
| + } |
| +}; |