<commit_before>jsm.module(
	'playhouse.actor'
)
.defines(function()
{
	ph.Actor = jsm.Class.extend(
	{
		x : 0,
		y : 0,

		disObj : null,
		conName : '',

		screenX : 0.5,
		screenY : 0.5,

		stateIds : [],

		init : function(x, y, options)
		{
			this.x = x || this.x;
			this.y = y || this.y;
			jsm.merge(this, options || {});
		},

		update : function()
		{
			if ( this.disObj )
			{
				if ( this.screenX >= 0 )
					this.disObj.x = this.x + (this.screenX * ph.system.width);

				if ( this.screenY >= 0 )
					this.disObj.y = this.y + (this.screenY * ph.system.height);
			}
		},

		kill : function()
		{
			ph.scene && ph.scene.removeActor(this)
		},

		switchState : function() {},

		_interactionHandler : function(e)
		{
			switch ( e.type )
			{
				case 'click' : this.onClick(e); break;
				case 'mousedown' : this.onMousedown(e); break;
				case 'mouseover' : this.onMouseover(e); break;
				case 'mouseout' : this.onMouseout(e); break;
				case 'pressup' : this.onPressup(e); break;
			}
		},

		onClick : function() {},
		onMousedown : function() {},
		onMouseover : function() {},
		onMosueout : function() {},
		onPressup : function() {},
	})
});<commit_msg>fixed typo<commit_after>jsm.module(
	'playhouse.actor'
)
.defines(function()
{
	ph.Actor = jsm.Class.extend(
	{
		x : 0,
		y : 0,

		disObj : null,
		conName : '',

		screenX : 0.5,
		screenY : 0.5,

		stateIds : [],

		init : function(x, y, options)
		{
			this.x = x || this.x;
			this.y = y || this.y;
			jsm.merge(this, options || {});
		},

		update : function()
		{
			if ( this.disObj )
			{
				if ( this.screenX >= 0 )
					this.disObj.x = this.x + (this.screenX * ph.system.width);

				if ( this.screenY >= 0 )
					this.disObj.y = this.y + (this.screenY * ph.system.height);
			}
		},

		kill : function()
		{
			ph.scene && ph.scene.removeActor(this)
		},

		switchState : function() {},

		_interactionHandler : function(e)
		{
			switch ( e.type )
			{
				case 'click' : this.onClick(e); break;
				case 'mousedown' : this.onMousedown(e); break;
				case 'mouseover' : this.onMouseover(e); break;
				case 'mouseout' : this.onMouseout(e); break;
				case 'pressup' : this.onPressup(e); break;
			}
		},

		onClick : function() {},
		onMousedown : function() {},
		onMouseover : function() {},
		onMouseout : function() {},
		onPressup : function() {},
	})
});
{'fraction_non_alphanumeric': 0.18614534636634084, 'fraction_numerical': 0.006799830004249894, 'mean_word_length': 2.599388379204893, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '771430', 'n_tokens_mistral': 1105, 'n_tokens_neox': 918, 'n_words': 175}