Index: client/dom/generated/src/frog/_EventSourceFactoryProvider.dart |
diff --git a/client/dom/generated/src/interface/DOMURL.dart b/client/dom/generated/src/frog/_EventSourceFactoryProvider.dart |
similarity index 62% |
copy from client/dom/generated/src/interface/DOMURL.dart |
copy to client/dom/generated/src/frog/_EventSourceFactoryProvider.dart |
index 6744630cbc6a256ddc357ff222d2059d2ef38e02..892b0e24c9ba7114fc4f8bf58e9ac9a77969d164 100644 |
--- a/client/dom/generated/src/interface/DOMURL.dart |
+++ b/client/dom/generated/src/frog/_EventSourceFactoryProvider.dart |
@@ -2,7 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-// WARNING: Do not edit - generated code. |
- |
-interface DOMURL { |
+class _EventSourceFactoryProvider { |
+ factory EventSource(String scriptUrl) native |
+ '''return new EventSource(scriptUrl);'''; |
} |