1
0
Fork 0
mirror of https://github.com/rubyjs/therubyrhino synced 2023-03-27 23:21:34 -04:00

allow for jar path overrides for experimenting

This commit is contained in:
kares 2012-05-18 22:00:32 +02:00
parent 85ae44cc08
commit ba56e4d721

View file

@ -1,9 +1,9 @@
require 'java' require 'java'
require 'rhino/rhino-1.7R3.jar'
module Rhino module Rhino
require defined?(Rhino::JAR_PATH) ? JAR_PATH : 'rhino/rhino-1.7R3.jar'
# This module contains all the native Rhino objects implemented in Java # This module contains all the native Rhino objects implemented in Java
# e.g. Rhino::JS::NativeObject # => org.mozilla.javascript.NativeObject # e.g. Rhino::JS::NativeObject # => org.mozilla.javascript.NativeObject
module JS module JS