Home | History | Annotate | Download | only in samples

Lines Matching refs:Global

99   // install it in the global namespace as 'options' and 'output'.
133 Global<Context> context_;
134 Global<Function> process_;
135 static Global<ObjectTemplate> request_template_;
136 static Global<ObjectTemplate> map_template_;
160 // Create a template for the global object where we set the
161 // built-in global functions.
162 Local<ObjectTemplate> global = ObjectTemplate::New(GetIsolate());
163 global->Set(String::NewFromUtf8(GetIsolate(), "log", NewStringType::kNormal)
172 v8::Local<v8::Context> context = Context::New(GetIsolate(), NULL, global);
188 // Process function from the global object.
195 if (!context->Global()->Get(context, process_name).ToLocal(&process_val) ||
203 // Store the function in a Global handle, since we also want
253 // Set the options object as a property on the global object.
254 context->Global()
262 context->Global()
290 // Invoke the process function, giving the global object as 'this'
297 if (!process->Call(context, context->Global(), argc, argv).ToLocal(&result)) {
316 Global<ObjectTemplate> JsHttpRequestProcessor::request_template_;
317 Global<ObjectTemplate> JsHttpRequestProcessor::map_template_;