Permalink
Browse files

Issue #1512: Add importClass and Packages to the Rhino env

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
  • Loading branch information...
1 parent 3396874 commit 8918c192a4dcee1bc91d2227b42a6c8924c0896a @svendahlstrand svendahlstrand committed with valueof Feb 21, 2014
Showing with 4 additions and 0 deletions.
  1. +2 −0 src/vars.js
  2. +2 −0 tests/unit/envs.js
View
@@ -411,10 +411,12 @@ exports.rhino = {
deserialize : false,
gc : false,
help : false,
+ importClass : false,
importPackage: false,
"java" : false,
load : false,
loadClass : false,
+ Packages : false,
print : false,
quit : false,
readFile : false,
View
@@ -390,10 +390,12 @@ exports.rhino = function (test) {
"deserialize",
"gc",
"help",
+ "importClass",
"importPackage",
"java",
"load",
"loadClass",
+ "Packages",
"print",
"quit",
"readFile",

0 comments on commit 8918c19

Please sign in to comment.