summaryrefslogtreecommitdiff
path: root/core/runtime.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/runtime.rs')
-rw-r--r--core/runtime.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime.rs b/core/runtime.rs
index b1d8f3d80..5b3b0ce50 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -629,7 +629,7 @@ impl JsRuntime {
.ok()
}
- pub(crate) fn grab_global<'s, T>(
+ pub fn grab_global<'s, T>(
scope: &mut v8::HandleScope<'s>,
path: &str,
) -> Option<v8::Local<'s, T>>