Skip to content

Commit b501c2a

Browse files
committed
Formating.
1 parent 95bbb9c commit b501c2a

File tree

7 files changed

+235
-236
lines changed

7 files changed

+235
-236
lines changed

CSharpToJavaScript/APIs/JS/Ecma/GlobalObject.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,7 @@ public class NaN
171171
}
172172

173173
[To(ToAttribute.FirstCharToLowerCase)]
174-
public class Undefined
175-
{
176-
177-
}
174+
public class Undefined { }
178175

179176
[To(ToAttribute.FirstCharToLowerCase)]
180177
public static dynamic Eval(string x)

CSharpToJavaScript/APIs/JS/EventTarget.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
using CSharpToJavaScript.Utils;
33
using System;
44

5-
namespace CSharpToJavaScript.APIs.JS
5+
namespace CSharpToJavaScript.APIs.JS;
6+
7+
public partial class EventTarget
68
{
7-
public partial class EventTarget
8-
{
9-
[To(ToAttribute.FirstCharToLowerCase)]
10-
public GlobalObject.Undefined AddEventListener(string type, Action? callback, Union26 options) { throw new System.NotImplementedException(); }
11-
[To(ToAttribute.FirstCharToLowerCase)]
12-
public GlobalObject.Undefined AddEventListener(string type, Action<MouseEvent>? callback, Union26 options) { throw new System.NotImplementedException(); }
13-
[To(ToAttribute.FirstCharToLowerCase)]
14-
public GlobalObject.Undefined AddEventListener(string type, Action<Event>? callback, Union26 options) { throw new System.NotImplementedException(); }
15-
16-
[To(ToAttribute.FirstCharToLowerCase)]
17-
public GlobalObject.Undefined RemoveEventListener(string type, Action? callback, Union27 options) { throw new System.NotImplementedException(); }
9+
[To(ToAttribute.FirstCharToLowerCase)]
10+
public GlobalObject.Undefined AddEventListener(string type, Action? callback, Union26 options) { throw new System.NotImplementedException(); }
11+
[To(ToAttribute.FirstCharToLowerCase)]
12+
public GlobalObject.Undefined AddEventListener(string type, Action<MouseEvent>? callback, Union26 options) { throw new System.NotImplementedException(); }
13+
[To(ToAttribute.FirstCharToLowerCase)]
14+
public GlobalObject.Undefined AddEventListener(string type, Action<Event>? callback, Union26 options) { throw new System.NotImplementedException(); }
1815

19-
}
16+
[To(ToAttribute.FirstCharToLowerCase)]
17+
public GlobalObject.Undefined RemoveEventListener(string type, Action? callback, Union27 options) { throw new System.NotImplementedException(); }
18+
2019
}
20+

0 commit comments

Comments
 (0)