Skip to content
Browse files

adding builtin Object Object

  • Loading branch information...
1 parent 3e96dd3 commit fd49da22bdff0454389f859c7a6ea27700688231 @qmx qmx committed May 3, 2012
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<>();

0 comments on commit fd49da2

Please sign in to comment.
Something went wrong with that request. Please try again.