mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Rename JS<T> to Dom<T>
This commit is contained in:
parent
0e3c54c191
commit
7be32fb237
96 changed files with 494 additions and 494 deletions
|
@ -8,7 +8,7 @@ use dom::bindings::codegen::Bindings::RadioNodeListBinding;
|
|||
use dom::bindings::codegen::Bindings::RadioNodeListBinding::RadioNodeListMethods;
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::reflector::reflect_dom_object;
|
||||
use dom::bindings::root::{JS, Root};
|
||||
use dom::bindings::root::{Dom, Root};
|
||||
use dom::bindings::str::DOMString;
|
||||
use dom::htmlinputelement::HTMLInputElement;
|
||||
use dom::node::Node;
|
||||
|
@ -38,7 +38,7 @@ impl RadioNodeList {
|
|||
|
||||
pub fn new_simple_list<T>(window: &Window, iter: T) -> Root<RadioNodeList>
|
||||
where T: Iterator<Item=Root<Node>> {
|
||||
RadioNodeList::new(window, NodeListType::Simple(iter.map(|r| JS::from_ref(&*r)).collect()))
|
||||
RadioNodeList::new(window, NodeListType::Simple(iter.map(|r| Dom::from_ref(&*r)).collect()))
|
||||
}
|
||||
|
||||
// FIXME: This shouldn't need to be implemented here since NodeList (the parent of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue