Package org.mozilla.javascript.tools.shell

Examples of org.mozilla.javascript.tools.shell.Environment


        defineProperty("require", new Require(engine, this), DONTENUM);
        defineProperty("arguments", cx.newArray(this, engine.getArguments()), DONTENUM);
        // Set up "environment" in the global scope to provide access to the
        // System environment variables. http://github.com/ringo/ringojs/issues/#issue/88
        Environment.defineClass(this);
        Environment environment = new Environment(this);
        defineProperty("environment", environment, ScriptableObject.DONTENUM);
    }
View Full Code Here


                                 ScriptableObject.DONTENUM);

        // Set up "environment" in the global scope to provide access to the
        // System environment variables.
        Environment.defineClass(this);
        Environment environment = new Environment(this);
        defineProperty("environment", environment,
                       ScriptableObject.DONTENUM);

        history = (NativeArray) cx.newArray(this, 0);
        defineProperty("history", history, ScriptableObject.DONTENUM);
View Full Code Here

TOP

Related Classes of org.mozilla.javascript.tools.shell.Environment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.