mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +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;
|
mod devtools;
|
||||||
pub mod document_loader;
|
pub mod document_loader;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod dom;
|
mod dom;
|
||||||
pub mod fetch;
|
pub mod fetch;
|
||||||
pub mod layout_wrapper;
|
pub mod layout_wrapper;
|
||||||
mod mem;
|
mod mem;
|
||||||
|
|
|
@ -5,6 +5,11 @@
|
||||||
pub use dom::bindings::str::{ByteString, DOMString};
|
pub use dom::bindings::str::{ByteString, DOMString};
|
||||||
pub use dom::headers::normalize_value;
|
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 {
|
pub mod size_of {
|
||||||
use dom::characterdata::CharacterData;
|
use dom::characterdata::CharacterData;
|
||||||
use dom::element::Element;
|
use dom::element::Element;
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
|
|
||||||
extern crate script;
|
extern crate script;
|
||||||
|
|
||||||
use script::dom::bindings::cell::DOMRefCell;
|
use script::test::DOMRefCell;
|
||||||
use script::dom::bindings::js::JS;
|
use script::test::JS;
|
||||||
use script::dom::node::Node;
|
use script::test::Node;
|
||||||
|
|
||||||
struct Foo {
|
struct Foo {
|
||||||
bar: DOMRefCell<JS<Node>>
|
bar: DOMRefCell<JS<Node>>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue