Skip to content Skip to sidebar Skip to footer
Showing posts with the label Rhino

Java 7 + Rhino 1.7r3 Support For Commonjs Modules?

I need help getting CommonJS working on Java 7 and Rhino 1.7R3. Rhino 1.7R3 supports CommonJS modul… Read more Java 7 + Rhino 1.7r3 Support For Commonjs Modules?

Using A Config File For Jshint With Rhino

I'm attempting to run jsHint from the command line using Rhino. I want to make the check an au… Read more Using A Config File For Jshint With Rhino

Access Variable Of Scriptcontext Using Nashorn Javascript Engine (java 8)

I used the following code with the Rhino JavaScript engine in Java: @Test public void testRhino() t… Read more Access Variable Of Scriptcontext Using Nashorn Javascript Engine (java 8)

How Can I Add An Object Property To The Global Object In Rhino Javascript

I have some properties in an object that I would like to add to the global namespace. In javascript… Read more How Can I Add An Object Property To The Global Object In Rhino Javascript

Js - 'this' Is Undefined When Calling Method 'indirectly'

My goal is to call a function from a table of functions to generalize command handling (i.e indirec… Read more Js - 'this' Is Undefined When Calling Method 'indirectly'

Js - 'this' Is Undefined When Calling Method 'indirectly'

My goal is to call a function from a table of functions to generalize command handling (i.e indirec… Read more Js - 'this' Is Undefined When Calling Method 'indirectly'

Trying To Use Rhino, GetEngineByName("JavaScript") Returns Null In OpenJDK 7

When I run the following piece of code, the engine variable is set to null when I'm using OpenJ… Read more Trying To Use Rhino, GetEngineByName("JavaScript") Returns Null In OpenJDK 7

Using Google Channel Api On The Client Side By Embedding Javascript In Java Using Rhino Or Standard Inbuilt Javascript Support?

I am just experimenting about and I want to know whether it will be possible (and if possible how s… Read more Using Google Channel Api On The Client Side By Embedding Javascript In Java Using Rhino Or Standard Inbuilt Javascript Support?