Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding builtin Object Object

  • Loading branch information...
commit fd49da22bdff0454389f859c7a6ea27700688231 1 parent 3e96dd3
@qmx qmx authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/main/java/org/dynjs/runtime/DynThreadContext.java
View
1  src/main/java/org/dynjs/runtime/DynThreadContext.java
@@ -37,6 +37,7 @@ public String toString() {
private static final Map<String, Object> BUILTINS = new LinkedHashMap<String, Object>() {{
put("eval", new Eval());
put("undefined", UNDEFINED);
+ put("Object", new DynObject());
}};
private ThreadLocal<DynJS> runtime = new ThreadLocal<>();
Please sign in to comment.
Something went wrong with that request. Please try again.