diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-08 14:49:08 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-12-22 16:06:23 +0100 |
commit | 4fca766bbd04efa00f37071dd3c2f11292238be6 (patch) | |
tree | 315241bd14a5ac82c87d6a015b7136df9b477bd5 /components/script | |
parent | 1bc0862214b1d025b4c1f5e6348301cacd90cd09 (diff) | |
download | servo-4fca766bbd04efa00f37071dd3c2f11292238be6.tar.gz servo-4fca766bbd04efa00f37071dd3c2f11292238be6.zip |
Make the dom module private.
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/lib.rs | 2 | ||||
-rw-r--r-- | components/script/test.rs | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 9c2bf9b7b46..52c0cd6f358 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -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; diff --git a/components/script/test.rs b/components/script/test.rs index 694998714a6..ca00b200788 100644 --- a/components/script/test.rs +++ b/components/script/test.rs @@ -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; |