internal static void RequestExternalFunctions() { JavascriptFunctionsNeededEventArgs args = new JavascriptFunctionsNeededEventArgs(Instance); if (JavascriptFunctionsNeeded != null) { JavascriptFunctionsNeeded(Instance, args); } }
/// <summary> /// Tells JIST to submit this class's functions /// to the javascript engine. /// </summary> private void JistPlugin_JavascriptFunctionsNeeded(object sender, JavascriptFunctionsNeededEventArgs e) { e.Engine.CreateScriptFunctions(this.GetType(), this); }