Example #1
0
		internal static void RequestExternalFunctions()
		{
			JavascriptFunctionsNeededEventArgs args = new JavascriptFunctionsNeededEventArgs(Instance);
			if (JavascriptFunctionsNeeded != null) {
				JavascriptFunctionsNeeded(Instance, args);
			}
		}
Example #2
0
		/// <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);
		}