mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -26,6 +26,7 @@ use js::rust::HandleValue;
|
|||
use servo_atoms::Atom;
|
||||
|
||||
#[dom_struct]
|
||||
#[allow(non_snake_case)]
|
||||
pub struct ExtendableMessageEvent {
|
||||
event: ExtendableEvent,
|
||||
#[ignore_malloc_size_of = "mozjs"]
|
||||
|
@ -37,6 +38,7 @@ pub struct ExtendableMessageEvent {
|
|||
frozen_ports: DomRefCell<Option<Heap<JSVal>>>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl ExtendableMessageEvent {
|
||||
pub fn new_inherited(
|
||||
origin: DOMString,
|
||||
|
@ -101,6 +103,7 @@ impl ExtendableMessageEvent {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl ExtendableMessageEvent {
|
||||
pub fn dispatch_jsval(
|
||||
target: &EventTarget,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue