package com.drawbridge.jsengine.jsobjects;
public class Document extends JSObject{
public Document(){
super.addProperty("getElementById", new JSNativeFunction(this, "getElementById", new Class<?>[] {JSString.class}));
}
// @Override
// public String toString(){
// return "[Document]";
// }
@Override
public JSType getProperty(String name){
return properties.get(name);
}
@Override
public void addProperty(String name, JSType value){
// Can't add properties to a number
}
}