Index: client/html/src/frog_FactoryProviders.dart |
diff --git a/client/html/src/frog_FactoryProviders.dart b/client/html/src/frog_FactoryProviders.dart |
index 3a701890d1b378df31b8238f0e3a58a5b0360651..d2d6d2e8cc7b09c5a2e7ade9aa340bc678aa068d 100644 |
--- a/client/html/src/frog_FactoryProviders.dart |
+++ b/client/html/src/frog_FactoryProviders.dart |
@@ -77,17 +77,6 @@ class _CSSMatrixFactoryProvider { |
'return new WebKitCSSMatrix(spec);'; |
} |
-// TODO(jacobr): this factory does not require any native code so move to a |
-// separate file so it can be shared between wrapper and wrapperless versions. |
-class _EventFactoryProvider { |
- factory Event(String type, [bool canBubble = true, |
- bool cancelable = true]) { |
- _EventJs e = _document._createEvent("Event"); |
- e._initEvent(type, canBubble, cancelable); |
- return e; |
- } |
-} |
- |
class _PointFactoryProvider { |
factory Point(num x, num y) native 'return new WebKitPoint(x, y);'; |