mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Reinstate IDLCallbackType.module.
This commit is contained in:
parent
4b65f47315
commit
4786c30bce
1 changed files with 3 additions and 0 deletions
|
@ -3048,6 +3048,9 @@ class IDLCallbackType(IDLType, IDLObjectWithScope):
|
||||||
self._treatNonCallableAsNull = False
|
self._treatNonCallableAsNull = False
|
||||||
self._treatNonObjectAsNull = False
|
self._treatNonObjectAsNull = False
|
||||||
|
|
||||||
|
def module(self):
|
||||||
|
return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding'
|
||||||
|
|
||||||
def isCallback(self):
|
def isCallback(self):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue