Skip to content

Commit

Permalink
auto merge of #688 : sonwow/servo/element, r=jdm
Browse files Browse the repository at this point in the history
Implement `dom::element::Element::TagName` for autogenerate DOM bindings.
  • Loading branch information
bors-servo committed Aug 8, 2013
2 parents ad41c3a + cd95636 commit 4800ddf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/script/dom/element.rs
Expand Up @@ -9,8 +9,8 @@ use dom::bindings::codegen::{HTMLAnchorElementBinding, HTMLDivElementBinding, HT
use dom::bindings::codegen::{HTMLHRElementBinding};
use dom::bindings::codegen::{HTMLParagraphElementBinding, HTMLScriptElementBinding};
use dom::bindings::codegen::{HTMLImageElementBinding};
use dom::bindings::utils::{DOMString, null_string, ErrorResult};
use dom::bindings::utils::{CacheableWrapper, BindingObject, WrapperCache};
use dom::bindings::utils::{null_string, str};
use dom::bindings::utils::{BindingObject, CacheableWrapper, DOMString, ErrorResult, WrapperCache};
use dom::clientrect::ClientRect;
use dom::clientrectlist::ClientRectList;
use dom::htmlanchorelement::HTMLAnchorElement;
Expand Down Expand Up @@ -278,7 +278,7 @@ impl<'self> Element {

impl Element {
pub fn TagName(&self) -> DOMString {
null_string
str(self.tag_name.to_owned())
}

pub fn Id(&self) -> DOMString {
Expand Down

0 comments on commit 4800ddf

Please sign in to comment.