Merge BindingObject and Reflectable.

This commit is contained in:
Ms2ger 2013-10-18 17:02:16 +02:00
parent f585d218cb
commit 321e0373fa
23 changed files with 62 additions and 200 deletions

View file

@ -42,6 +42,10 @@ impl Reflectable for Element {
fn wrap_object_shared(@mut self, _cx: *JSContext, _scope: *JSObject) -> *JSObject {
fail!("no wrapping")
}
fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> {
self.node.GetParentObject(cx)
}
}
#[deriving(Eq)]