mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Make the dom module private.
This commit is contained in:
parent
1bc0862214
commit
4fca766bbd
3 changed files with 9 additions and 4 deletions
|
@ -105,7 +105,7 @@ pub mod clipboard_provider;
|
|||
mod devtools;
|
||||
pub mod document_loader;
|
||||
#[macro_use]
|
||||
pub mod dom;
|
||||
mod dom;
|
||||
pub mod fetch;
|
||||
pub mod layout_wrapper;
|
||||
mod mem;
|
||||
|
|
|
@ -5,6 +5,11 @@
|
|||
pub use dom::bindings::str::{ByteString, DOMString};
|
||||
pub use dom::headers::normalize_value;
|
||||
|
||||
// For compile-fail tests only.
|
||||
pub use dom::bindings::cell::DOMRefCell;
|
||||
pub use dom::bindings::js::JS;
|
||||
pub use dom::node::Node;
|
||||
|
||||
pub mod size_of {
|
||||
use dom::characterdata::CharacterData;
|
||||
use dom::element::Element;
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
extern crate script;
|
||||
|
||||
use script::dom::bindings::cell::DOMRefCell;
|
||||
use script::dom::bindings::js::JS;
|
||||
use script::dom::node::Node;
|
||||
use script::test::DOMRefCell;
|
||||
use script::test::JS;
|
||||
use script::test::Node;
|
||||
|
||||
struct Foo {
|
||||
bar: DOMRefCell<JS<Node>>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue