mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
12 lines
357 B
Diff
12 lines
357 B
Diff
--- WebIDL.py
|
|
+++ WebIDL.py
|
|
@@ -3398,6 +3398,9 @@ class IDLCallbackType(IDLType, IDLObjectWithScope):
|
|
self._treatNonCallableAsNull = False
|
|
self._treatNonObjectAsNull = False
|
|
|
|
+ def module(self):
|
|
+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding'
|
|
+
|
|
def isCallback(self):
|
|
return True
|
|
|