Index: lib/html/src/frog_FactoryProviders.dart |
diff --git a/lib/html/src/frog_FactoryProviders.dart b/lib/html/src/frog_FactoryProviders.dart |
index cba70a6a5c5d95ea1fd1a2c7209d04ec38803fc9..ad2514504fdbd123f915b9c1ca6174961989fed1 100644 |
--- a/lib/html/src/frog_FactoryProviders.dart |
+++ b/lib/html/src/frog_FactoryProviders.dart |
@@ -70,3 +70,7 @@ class _WebSocketFactoryProvider { |
factory WebSocket(String url) native '''return new WebSocket(url);'''; |
} |
+ |
+class _TextFactoryProvider { |
+ factory Text(String data) native "return document.createTextNode(data);"; |
+} |