Sha256: 30415b8804d76e37c95c8bc0fa8b29d7962c9ea1907a374bf1cc56281e1b3065
Contents?: true
Size: 745 Bytes
Versions: 17
Compression:
Stored size: 745 Bytes
Contents
package com.rho.javascriptvm; import com.rhomobile.rhodes.Logger; import com.rhomobile.rhodes.api.RhoApiFactory; public class JavascriptVMFactory extends RhoApiFactory< JavascriptVM, JavascriptVMSingleton> implements IJavascriptVMFactory { private static final boolean DEBUG = false; @Override protected JavascriptVMSingleton createSingleton() { if (DEBUG) { Logger.I(JavascriptVM.JS_TRACE_TAG, "createSingleton"); } return new JavascriptVMSingleton(this); } @Override protected JavascriptVM createApiObject(String id) { if (DEBUG) { Logger.I(JavascriptVM.JS_TRACE_TAG, "createApiObject"); } return new JavascriptVM(id); } }
Version data entries
17 entries across 17 versions & 2 rubygems