<commit_before>'use strict'

module.exports = (impl) ->
	{bridge} = impl

	callback = screen = null

	bridge.listen bridge.inActions.SCREEN_SIZE, (reader) ->
		screen._width = reader.getFloat()
		screen._height = reader.getFloat()

		callback()
		return

	# bridge.listen bridge.inActions.SCREEN_ORIENTATION, (reader) ->
	# 	return

	initScreenNamespace: (_callback) ->
		callback = _callback
		screen = this

		@_touch = true
		# @_orientation TODO<commit_msg>Native 'SCREEN_ORIENTATION' action implementation added<commit_after>'use strict'

module.exports = (impl) ->
	{bridge} = impl

	callback = screen = null

	bridge.listen bridge.inActions.SCREEN_SIZE, (reader) ->
		screen._width = reader.getFloat()
		screen._height = reader.getFloat()

		callback()
		return

	bridge.listen bridge.inActions.SCREEN_ORIENTATION, (reader) ->
		screen.orientation = reader.getString()
		return

	initScreenNamespace: (_callback) ->
		callback = _callback
		screen = this

		@_touch = true # TODO
{'fraction_non_alphanumeric': 0.11967545638945233, 'fraction_numerical': 0.0, 'mean_word_length': 4.167539267015707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1663907', 'n_tokens_mistral': 336, 'n_tokens_neox': 309, 'n_words': 68}