mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -27,6 +27,7 @@ pub struct StorageEvent {
|
|||
storage_area: MutNullableDom<Storage>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl StorageEvent {
|
||||
pub fn new_inherited(
|
||||
key: Option<DOMString>,
|
||||
|
@ -109,6 +110,7 @@ impl StorageEvent {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl StorageEventMethods for StorageEvent {
|
||||
// https://html.spec.whatwg.org/multipage/#dom-storageevent-key
|
||||
fn GetKey(&self) -> Option<DOMString> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue