* Add function prototype to DelegateWrapper so it has standard function properties such as Call, Apply, and Bind * Replace spacing characters I keep forgetting to do this before comitting...
@@ -17,6 +17,7 @@ namespace Jint.Runtime.Interop
public DelegateWrapper(Engine engine, Delegate d) : base(engine, null, null, false)
{
_d = d;
+ Prototype = engine.Function.PrototypeObject;
}
public override JsValue Call(JsValue thisObject, JsValue[] jsArguments)