mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move global_object_for_js_object to global.rs.
This appears to be a more sensible place for it (related to #433).
This commit is contained in:
parent
1fba32af9f
commit
47829a37a9
4 changed files with 37 additions and 30 deletions
|
@ -4,9 +4,10 @@
|
|||
|
||||
//! Base classes to work with IDL callbacks.
|
||||
|
||||
use dom::bindings::global::global_object_for_js_object;
|
||||
use dom::bindings::js::JSRef;
|
||||
use dom::bindings::trace::Traceable;
|
||||
use dom::bindings::utils::{Reflectable, global_object_for_js_object};
|
||||
use dom::bindings::utils::Reflectable;
|
||||
use js::jsapi::{JSContext, JSObject, JS_WrapObject, JS_ObjectIsCallable};
|
||||
use js::jsapi::JS_GetProperty;
|
||||
use js::jsval::{JSVal, UndefinedValue};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue