mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move various reflector types and traits to script_bindings (#35279)
* script: Move Reflector to script_bindings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Extract global() helper from DomObject into new trait. Move DomObject and related traits to script_bindings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
0d51578cc3
commit
c94ac5bccb
212 changed files with 357 additions and 319 deletions
|
@ -2,6 +2,14 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#![cfg_attr(crown, feature(register_tool))]
|
||||
// Register the linter `crown`, which is the Servo-specific linter for the script
|
||||
// crate. Issue a warning if `crown` is not being used to compile, but not when
|
||||
// building rustdoc or running clippy.
|
||||
#![cfg_attr(crown, register_tool(crown))]
|
||||
#![cfg_attr(any(doc, clippy), allow(unknown_lints))]
|
||||
#![deny(crown_is_not_used)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate jstraceable_derive;
|
||||
#[macro_use]
|
||||
|
@ -9,7 +17,9 @@ extern crate log;
|
|||
#[macro_use]
|
||||
extern crate malloc_size_of_derive;
|
||||
|
||||
pub mod callback;
|
||||
pub mod conversions;
|
||||
pub mod reflector;
|
||||
pub mod str;
|
||||
mod trace;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue