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:
parent
85ae44cc08
commit
ba56e4d721
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'java'
|
||||
|
||||
require 'rhino/rhino-1.7R3.jar'
|
||||
|
||||
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
|
||||
# e.g. Rhino::JS::NativeObject # => org.mozilla.javascript.NativeObject
|
||||
module JS
|
||||
|
|
Loading…
Reference in a new issue