Index: lib/html/src/dartium_FactoryProviders.dart |
diff --git a/lib/html/src/dartium_FactoryProviders.dart b/lib/html/src/dartium_FactoryProviders.dart |
index eefd6222b1604b8ea75deac5aecd5269898fc74e..d5227e8870c98ad4c8e77dcaccef91e5d4fa63d8 100644 |
--- a/lib/html/src/dartium_FactoryProviders.dart |
+++ b/lib/html/src/dartium_FactoryProviders.dart |
@@ -66,3 +66,7 @@ class _WebSocketFactoryProvider { |
factory WebSocket(String url) => _wrap(new dom.WebSocket(url)); |
} |
+ |
+class _TextFactoryProvider { |
+ factory Text(String data) => _document.$dom_createTextNode(data); |
+} |