mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Format script component
This commit is contained in:
parent
2ca7a13473
commit
c37a345dc9
357 changed files with 25485 additions and 18076 deletions
|
@ -27,9 +27,11 @@ impl Comment {
|
|||
}
|
||||
|
||||
pub fn new(text: DOMString, document: &Document) -> DomRoot<Comment> {
|
||||
Node::reflect_node(Box::new(Comment::new_inherited(text, document)),
|
||||
document,
|
||||
CommentBinding::Wrap)
|
||||
Node::reflect_node(
|
||||
Box::new(Comment::new_inherited(text, document)),
|
||||
document,
|
||||
CommentBinding::Wrap,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn Constructor(window: &Window, data: DOMString) -> Fallible<DomRoot<Comment>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue