Inheritance: IdScriptableObject
Example #1
0
		internal static void Init(Scriptable scope, bool @sealed)
		{
			Rhino.NativeMath obj = new Rhino.NativeMath();
			obj.ActivatePrototypeMap(MAX_ID);
			obj.SetPrototype(GetObjectPrototype(scope));
			obj.SetParentScope(scope);
			if (@sealed)
			{
				obj.SealObject();
			}
			ScriptableObject.DefineProperty(scope, "Math", obj, ScriptableObject.DONTENUM);
		}