<commit_before>/**
 * wraps around and tweaks webvr boilerplate to work with Vizor
 * @emits VizorWebVRAdapter.events
 */
function VizorWebVRAdapter() {
	EventEmitter.apply(this, arguments)
	this.events = VizorWebVRAdapter.events

	Object.defineProperty(this, 'mode', {
		get: function() {
			return that._manager.mode
		}
	})

	Object.defineProperty(this, 'hmd', {
		get: function() {
			return that._manager.hmd
		}
	})
	this.iOS = navigator.userAgent.match(/iPhone|iPad|iPod/i);
}

VizorWebVRAdapter.prototype = Object.create(EventEmitter.prototype)

VizorWebVRAdapter.prototype.initialise = function(domElement, renderer, effect, options) {
	var that = this

	// only stored here for convenience/debugging
	this._renderer = renderer<commit_msg>bugfix missing reference to self<commit_after>/**
 * wraps around and tweaks webvr boilerplate to work with Vizor
 * @emits VizorWebVRAdapter.events
 */
function VizorWebVRAdapter() {
	EventEmitter.apply(this, arguments)
	this.events = VizorWebVRAdapter.events
	var that = this
	Object.defineProperty(this, 'mode', {
		get: function() {
			return that._manager.mode
		}
	})

	Object.defineProperty(this, 'hmd', {
		get: function() {
			return that._manager.hmd
		}
	})
	this.iOS = navigator.userAgent.match(/iPhone|iPad|iPod/i);
}

VizorWebVRAdapter.prototype = Object.create(EventEmitter.prototype)

VizorWebVRAdapter.prototype.initialise = function(domElement, renderer, effect, options) {
	var that = this

	// only stored here for convenience/debugging
	this._renderer = renderer
{'fraction_non_alphanumeric': 0.11430437622468975, 'fraction_numerical': 0.0, 'mean_word_length': 4.781132075471698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4530147', 'n_tokens_mistral': 531, 'n_tokens_neox': 505, 'n_words': 106}